Skip to content

Commit

Permalink
Install more shared libraries (#37)
Browse files Browse the repository at this point in the history
* Update Dockerfile

* Update Dockerfile
  • Loading branch information
tsalo authored Oct 3, 2024
1 parent 259a076 commit 6972fe9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ 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.
# Need to symlink libXpm.so.4.11.0 (libxpm4) to libXp.so.6 for AFNI.
# Need to symlink libpng16.so.16.37.0 (libpng16-16) to libpng12.so.0 for AFNI.
RUN apt-get update -qq \
&& apt-get install -y -q --no-install-recommends \
apt-utils \
Expand All @@ -101,13 +102,15 @@ RUN apt-get update -qq \
libglw1-mesa \
libgomp1 \
libjpeg62 \
libpng16-16 \
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 \
&& ln -s /usr/lib/x86_64-linux-gnu/libpng16.so.16.37.0 /usr/lib/x86_64-linux-gnu/libpng12.so.0 \
&& 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 @@ -148,6 +151,7 @@ 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
COPY --from=build_fsl /usr/lib/libznz.so.2 /opt/fsl/lib/libznz.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 6972fe9

Please sign in to comment.