Skip to content

Commit 96b6222

Browse files
committed
DKR: Update AFNI
1 parent 34f9602 commit 96b6222

File tree

1 file changed

+3
-34
lines changed

1 file changed

+3
-34
lines changed

Dockerfile

Lines changed: 3 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -51,47 +51,16 @@ RUN curl -sSL "https://dl.dropbox.com/s/gwf51ykkk5bifyj/ants-Linux-centos6_x86_6
5151
RUN GNUPGHOME=/tmp gpg --keyserver hkps://keyserver.ubuntu.com --no-default-keyring --keyring /usr/share/keyrings/linuxuprising.gpg --recv 0xEA8CACC073C3DB2A \
5252
&& echo "deb [signed-by=/usr/share/keyrings/linuxuprising.gpg] https://ppa.launchpadcontent.net/linuxuprising/libpng12/ubuntu jammy main" > /etc/apt/sources.list.d/linuxuprising.list
5353

54-
# # AFNI latest (neurodocker build)
55-
RUN apt-get update -qq \
56-
&& apt-get install -y -q --no-install-recommends \
57-
ed \
58-
gsl-bin \
59-
libglib2.0-0 \
60-
libglu1-mesa-dev \
61-
libglw1-mesa \
62-
libgomp1 \
63-
libjpeg62 \
64-
libpng12-0 \
65-
libxm4 \
66-
netpbm \
67-
tcsh \
68-
xfonts-base \
69-
xvfb \
70-
&& apt-get clean \
71-
&& rm -rf /var/lib/apt/lists/* \
72-
&& curl -sSL --retry 5 -o /tmp/multiarch.deb http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/multiarch-support_2.27-3ubuntu1.5_amd64.deb \
73-
&& dpkg -i /tmp/multiarch.deb \
74-
&& rm /tmp/multiarch.deb \
75-
&& curl -sSL --retry 5 -o /tmp/libxp6.deb http://mirrors.kernel.org/debian/pool/main/libx/libxp/libxp6_1.0.2-2_amd64.deb \
76-
&& dpkg -i /tmp/libxp6.deb \
77-
&& rm /tmp/libxp6.deb \
78-
&& apt-get install -f \
79-
&& apt-get clean \
80-
&& rm -rf /var/lib/apt/lists/* \
81-
&& gsl2_path="$(find / -name 'libgsl.so.19' || printf '')" \
82-
&& if [ -n "$gsl2_path" ]; then \
83-
ln -sfv "$gsl2_path" "$(dirname $gsl2_path)/libgsl.so.0"; \
84-
fi \
85-
&& ldconfig \
86-
&& echo "Downloading AFNI ..." \
87-
&& mkdir -p /opt/afni-latest \
54+
# AFNI 2023.04.04
55+
RUN mkdir -p /opt/afni-latest \
8856
&& curl -fsSL --retry 5 https://afni.nimh.nih.gov/pub/dist/tgz/linux_openmp_64.tgz \
8957
| tar -xz -C /opt/afni-latest --strip-components 1 \
9058
--exclude "linux_openmp_64/*.gz" \
9159
--exclude "linux_openmp_64/funstuff" \
9260
--exclude "linux_openmp_64/shiny" \
9361
--exclude "linux_openmp_64/afnipy" \
9462
--exclude "linux_openmp_64/lib/RetroTS" \
63+
--exclude "linux_openmp_64/lib_RetroTS" \
9564
--exclude "linux_openmp_64/meica.libs" \
9665
# Keep only what we use
9766
&& find /opt/afni-latest -type f -not \( \

0 commit comments

Comments
 (0)