Docker: T1927: Regenerate ca-certificate store

This commit is contained in:
Runar Borge 2020-01-21 20:00:25 +01:00
parent 4737ecec92
commit 44a8ad0a88

View File

@ -103,10 +103,8 @@ RUN apt-get update && apt-get install -y \
libpcre3-dev \ libpcre3-dev \
unzip unzip
#Apply fix for https in curl running on armhf # Update certificate store to not crash ocaml package installf
RUN if dpkg-architecture -iarmhf; then \ RUN dpkg-reconfigure ca-certificates
echo "cacert=/etc/ssl/certs/ca-certificates.crt" >> ~/.curlrc; \
fi
# Installing OCAML needed to compile libvyosconfig # Installing OCAML needed to compile libvyosconfig
RUN curl https://raw.githubusercontent.com/ocaml/opam/2.0.2/shell/install.sh \ RUN curl https://raw.githubusercontent.com/ocaml/opam/2.0.2/shell/install.sh \