Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added dockerfile #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
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 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
ENV FSLTCLSH /usr/bin/tclsh
ENV FSLWISH /usr/bin/wish
ENV FSLBROWSER /etc/alternatives/x-www-browser
ENV LD_LIBRARY_PATH /usr/lib/fsl/5.0:${LD_LIBRARY_PATH}
ENV PATH ${FSLDIR}/bin:/home/ubuntu/bin:${PATH}

RUN mkdir /palm
COPY palm* /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"]