-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile.RocheCert
26 lines (23 loc) · 2.01 KB
/
Dockerfile.RocheCert
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM debian:buster
MAINTAINER Matthias Munz <matthias.munz@gmx.de>
RUN apt-get update && apt-get -y --no-install-recommends install ruby-full bundler build-essential libcurl4-openssl-dev apt-utils gnupg wget dirmngr curl bzip2 git libtbb2 && apt-get clean && ruby --version
#RUN /usr/bin/apt-key adv --keyserver pgp.mit.edu --recv 1078ECD7
RUN /usr/bin/apt-key adv --keyserver keyserver.ubuntu.com --recv 1078ECD7
RUN echo "deb http://apt.arvados.org/buster buster main" | tee /etc/apt/sources.list.d/arvados.list
RUN apt-get update && apt-get -y --no-install-recommends install python-arvados-python-client python-arvados-fuse && apt-get clean
RUN gem install arvados-cli
RUN cd /usr/local/share/ca-certificates && \
wget -q -O RocheRootCA.cer http://certinfo.roche.com/rootcerts/Roche%20Root%20CA%201.cer && \
wget -q -O RocheEnterpriseCA1.cer http://certinfo.roche.com/rootcerts/RocheEnterpriseCA1.cer && \
wget -q -O RocheEnterpriseCA2.cer http://certinfo.roche.com/rootcerts/RocheEnterpriseCA2.cer && \
wget -q -O RocheRootCA1-G2.crt http://certinfo.roche.com/rootcerts/Roche%20Root%20CA%201%20-%20G2.crt && \
wget -q -O RocheEnterpriseCA1-G2.crt http://certinfo.roche.com/rootcerts/Roche%20Enterprise%20CA%201%20-%20G2.crt && \
wget -q -O RocheG3RootCA.crt http://certinfo.roche.com/rootcerts/Roche%20G3%20Root%20CA.crt && \
wget -q -O RocheG3IssuingCA1.crt http://certinfo.roche.com/rootcerts/Roche%20G3%20Issuing%20CA%201.crt && \
wget -q -O RocheG3IssuingCA2.crt http://certinfo.roche.com/rootcerts/Roche%20G3%20Issuing%20CA%202.crt && \
wget -q -O RocheG3IssuingCA3.crt http://certinfo.roche.com/rootcerts/Roche%20G3%20Issuing%20CA%203.crt && \
wget -q -O RocheG3IssuingCA4.crt http://certinfo.roche.com/rootcerts/Roche%20G3%20Issuing%20CA%204.crt && \
openssl x509 -in RocheRootCA.cer -inform der -outform pem > RocheRootCA.crt && \
openssl x509 -in RocheEnterpriseCA1.cer -inform der -outform pem > RocheEnterpriseCA1.crt && \
openssl x509 -in RocheEnterpriseCA2.cer -inform der -outform pem > RocheEnterpriseCA2.crt && \
update-ca-certificates