Skip to content

Commit 1a3fe43

Browse files
committed
Try to fix curl brokeness with certificates
1 parent 2c1beb8 commit 1a3fe43

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
FROM gdevenyi/magetbrain-bids-ants:82dcdd647211004f3220e4073ea4daf06fdf89f9
33

44
RUN apt-get update \
5-
&& apt-get install --auto-remove --no-install-recommends -y parallel git curl gzip bzip2 gnupg2 unzip coreutils \
5+
&& apt-get install --auto-remove --no-install-recommends -y parallel git curl gzip bzip2 gnupg2 unzip coreutils ca-certificates \
66
&& rm -rf /var/lib/apt/lists/*
77

8-
RUN curl -o anaconda.sh https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh \
8+
RUN curl --insecure -o anaconda.sh https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh \
99
&& bash anaconda.sh -b -p /opt/anaconda && rm -f anaconda.sh
1010

1111
RUN curl -o /opt/atlases-nifti.zip -sL http://cobralab.net/files/atlases-nifti.zip \
@@ -16,7 +16,7 @@ RUN curl -o /opt/atlases-nifti.zip -sL http://cobralab.net/files/atlases-nifti.z
1616
&& mkdir /opt/atlases-nifti/colin && unzip /opt/atlases-nifti/colin.zip -d /opt/atlases-nifti/colin && rm -f /opt/atlases-nifti/colin.zip \
1717
&& gzip /opt/atlases-nifti/colin/colin27_t1_tal_lin.nii
1818

19-
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - \
19+
RUN curl --insecure -sL https://deb.nodesource.com/setup_10.x | bash - \
2020
&& apt-get install -y --no-install-recommends --auto-remove nodejs \
2121
&& rm -rf /var/lib/apt/lists/*
2222

0 commit comments

Comments
 (0)