Skip to content

Commit

Permalink
Merge pull request #3 from flywheel-apps/FIX_ssl_cert
Browse files Browse the repository at this point in the history
fix ssl-cert on ubuntu 16 (xenial)
  • Loading branch information
dpark6060 authored Oct 12, 2021
2 parents f164553 + 30f1778 commit 67822fc
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions 5.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
FROM neurodebian:xenial
MAINTAINER Flywheel <[email protected]>

RUN { \
echo 'deb http://neurodeb.pirsquared.org data main contrib non-free'; \
echo 'deb http://neurodeb.pirsquared.org xenial main contrib non-free'; \
} > /etc/apt/sources.list.d/neurodebian.sources.list


# Install dependencies
RUN echo deb http://neurodeb.pirsquared.org data main contrib non-free >> /etc/apt/sources.list.d/neurodebian.sources.list
RUN echo deb http://neurodeb.pirsquared.org xenial main contrib non-free >> /etc/apt/sources.list.d/neurodebian.sources.list
RUN apt-get update \
&& apt-get install -y \
bc \
Expand All @@ -13,11 +15,18 @@ RUN apt-get update \
fsl-5.0-complete \
jq \
lsb-core \
alien=8.95 \
debhelper=9.20160115ubuntu3 \
python-pip \
python3-pip \
rename \
zip

#Remove expired LetsEncrypt cert
RUN rm /usr/share/ca-certificates/mozilla/DST_Root_CA_X3.crt && \
update-ca-certificates
ENV REQUESTS_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"

# Make directory for flywheel spec (v0)
ENV FLYWHEEL=/flywheel/v0
RUN mkdir -p ${FLYWHEEL}
Expand Down

0 comments on commit 67822fc

Please sign in to comment.