Skip to content

Commit

Permalink
add image package to dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jokedurnez committed May 1, 2017
1 parent a91cd23 commit 1fb1a99
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@ FROM bids/base_fsl
ENV DEBIAN_FRONTEND noninteractive

# install octave 3.6.2 (less needed as frontend)
RUN sudo apt-get update && sudo apt-get install -y octave less

RUN sudo apt-get update && sudo apt-get install -y less
RUN sudo apt-get install -y software-properties-common python-software-properties
RUN sudo add-apt-repository ppa:octave/stable
RUN sudo apt-get install -y octave octave-general octave-signal imagemagick
# cleanup package manager
RUN sudo apt-get autoclean && sudo apt-get clean
RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*


ENV FSLDIR /usr/share/fsl/5.0
ENV FSLOUTPUTTYPE NIFTI_GZ
ENV FSLMULTIFILEQUIT TRUE
Expand All @@ -20,7 +23,10 @@ ENV PATH ${FSLDIR}/bin:/home/ubuntu/bin:${PATH}

RUN mkdir /palm
COPY palm* /palm/
COPY fileio /palm/
RUN mkdir /palm/fileio/
COPY fileio /palm/fileio/

RUN wget https://launchpad.net/ubuntu/+archive/primary/+files/octave-image_2.2.0-3_amd64.deb
RUN sudo dpkg -i octave-image_2.2.0-3_amd64.deb
WORKDIR /palm
CMD [".palm"]

0 comments on commit 1fb1a99

Please sign in to comment.