Skip to content

Commit

Permalink
Symlink pre-installed shared library (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo authored Oct 3, 2024
1 parent c1cdcbf commit 549dd79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ RUN apt-get update && \
# Install AFNI latest (neurodocker build)
# 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.
# Need to symlink libgsl.so.23.0.0 (libgsl23) to libgsl.so.0 for AFNI.
# Need to symlink libgsl.so.27.0.0 (pre-installed) to libgsl.so.0 for AFNI.
RUN apt-get update -qq \
&& apt-get install -y -q --no-install-recommends \
apt-utils \
Expand All @@ -112,7 +112,7 @@ RUN apt-get update -qq \
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 \
&& ln -s /usr/lib/x86_64-linux-gnu/libgsl.so.23.0.0 /usr/lib/x86_64-linux-gnu/libgsl.so.0 \
&& ln -s /usr/lib/x86_64-linux-gnu/libgsl.so.27.0.0 /usr/lib/x86_64-linux-gnu/libgsl.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

0 comments on commit 549dd79

Please sign in to comment.