summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorRunar Borge <runar@borge.nu>2020-01-21 20:00:25 +0100
committerRunar Borge <runar@borge.nu>2020-01-21 21:57:39 +0100
commit44a8ad0a88d4a98ba8abbc93402483df6318c73d (patch)
tree3bab7a07464be4891945453f82b453276bb59725 /docker
parent4737ecec9222da14acdeaf8b20431a1a831d417e (diff)
downloadvyos-build-44a8ad0a88d4a98ba8abbc93402483df6318c73d.tar.gz
vyos-build-44a8ad0a88d4a98ba8abbc93402483df6318c73d.zip
Docker: T1927: Regenerate ca-certificate store
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile6
1 files changed, 2 insertions, 4 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 3591f55..bee084c 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -103,10 +103,8 @@ RUN apt-get update && apt-get install -y \
libpcre3-dev \
unzip
-#Apply fix for https in curl running on armhf
-RUN if dpkg-architecture -iarmhf; then \
- echo "cacert=/etc/ssl/certs/ca-certificates.crt" >> ~/.curlrc; \
- fi
+# Update certificate store to not crash ocaml package installf
+RUN dpkg-reconfigure ca-certificates
# Installing OCAML needed to compile libvyosconfig
RUN curl https://raw.githubusercontent.com/ocaml/opam/2.0.2/shell/install.sh \