Skip to content

Commit

Permalink
Fix image (#36)
Browse files Browse the repository at this point in the history
* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile
  • Loading branch information
tsalo authored Oct 3, 2024
1 parent eeba053 commit 259a076
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ RUN apt-get update && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# Install AFNI latest (neurodocker build)
# Need to symlink libXpm.so.4.11.0 to libXp.so.6 because AFNI expects libXp.so.6.
RUN apt-get update -qq \
&& apt-get install -y -q --no-install-recommends \
apt-utils \
Expand All @@ -101,10 +102,12 @@ RUN apt-get update -qq \
libgomp1 \
libjpeg62 \
libxm4 \
libxpm4 \
netpbm \
tcsh \
xfonts-base \
xvfb \
&& ln -s /usr/lib/x86_64-linux-gnu/libXpm.so.4.11.0 /usr/lib/x86_64-linux-gnu/libXp.so.6 \
&& echo "Downloading AFNI ..." \
&& mkdir -p /opt/afni-latest \
&& curl -fsSL --retry 5 https://afni.nimh.nih.gov/pub/dist/tgz/linux_openmp_64.tgz \
Expand Down Expand Up @@ -144,6 +147,7 @@ COPY --from=build_fsl /usr/lib/fsl/5.0/libfslio.so /opt/fsl/lib/libfslio.so
COPY --from=build_fsl /usr/lib/fsl/5.0/libutils.so /opt/fsl/lib/libutils.so
COPY --from=build_fsl /usr/lib/fsl/5.0/libprob.so /opt/fsl/lib/libprob.so
COPY --from=build_fsl /usr/lib/libnewmat.so.10.0.0 /opt/fsl/lib/libnewmat.so.10
COPY --from=build_fsl /usr/lib/libniftiio.so.2 /opt/fsl/lib/libniftiio.so.2
# Install applywarp from FSL for UK Biobank data
COPY --from=build_fsl /usr/lib/fsl/5.0/applywarp /opt/fsl/lib/applywarp

Expand Down

0 comments on commit 259a076

Please sign in to comment.