File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,40 @@ RUN GNUPGHOME=/tmp gpg --keyserver hkps://keyserver.ubuntu.com --no-default-keyr
52
52
&& 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
53
53
54
54
# AFNI 2023.04.04
55
+ # Configure PPAs for libpng12 and libxp6
56
+ RUN GNUPGHOME=/tmp gpg --keyserver hkps://keyserver.ubuntu.com --no-default-keyring --keyring /usr/share/keyrings/linuxuprising.gpg --recv 0xEA8CACC073C3DB2A \
57
+ && GNUPGHOME=/tmp gpg --keyserver hkps://keyserver.ubuntu.com --no-default-keyring --keyring /usr/share/keyrings/zeehio.gpg --recv 0xA1301338A3A48C4A \
58
+ && 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 \
59
+ && echo "deb [signed-by=/usr/share/keyrings/zeehio.gpg] https://ppa.launchpadcontent.net/zeehio/libxp/ubuntu jammy main" > /etc/apt/sources.list.d/zeehio.list
60
+
61
+ # Dependencies for AFNI; requires a discontinued multiarch-support package from bionic (18.04)
62
+ RUN apt-get update -qq \
63
+ && apt-get install -y -q --no-install-recommends \
64
+ ed \
65
+ gsl-bin \
66
+ libglib2.0-0 \
67
+ libglu1-mesa-dev \
68
+ libglw1-mesa \
69
+ libgomp1 \
70
+ libjpeg62 \
71
+ libpng12-0 \
72
+ libxm4 \
73
+ libxp6 \
74
+ netpbm \
75
+ tcsh \
76
+ xfonts-base \
77
+ xvfb \
78
+ && 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 \
79
+ && dpkg -i /tmp/multiarch.deb \
80
+ && rm /tmp/multiarch.deb \
81
+ && apt-get install -f \
82
+ && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
83
+ && gsl2_path="$(find / -name 'libgsl.so.19' || printf '')" \
84
+ && if [ -n "$gsl2_path" ]; then \
85
+ ln -sfv "$gsl2_path" "$(dirname $gsl2_path)/libgsl.so.0" ; \
86
+ fi \
87
+ && ldconfig
88
+
55
89
RUN mkdir -p /opt/afni-latest \
56
90
&& curl -fsSL --retry 5 https://afni.nimh.nih.gov/pub/dist/tgz/linux_openmp_64.tgz \
57
91
| tar -xz -C /opt/afni-latest --strip-components 1 \
You can’t perform that action at this time.
0 commit comments