summaryrefslogtreecommitdiff
path: root/docker/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile7
1 files changed, 6 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index bee084c5..a00422f2 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -104,7 +104,12 @@ RUN apt-get update && apt-get install -y \
unzip
# Update certificate store to not crash ocaml package installf
-RUN dpkg-reconfigure ca-certificates
+# Apply fix for https in curl running on armhf
+RUN dpkg-reconfigure ca-certificates; \
+ if dpkg-architecture -iarmhf; then \
+ echo "cacert=/etc/ssl/certs/ca-certificates.crt" >> ~/.curlrc; \
+ fi
+
# Installing OCAML needed to compile libvyosconfig
RUN curl https://raw.githubusercontent.com/ocaml/opam/2.0.2/shell/install.sh \