From 9964bbbb239519bdf0a153c1dcddf18cdb4c0fbe Mon Sep 17 00:00:00 2001 From: Kim Date: Fri, 20 Sep 2019 08:41:17 +0200 Subject: Ignore certificates in curl --- docker/armhf/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docker/armhf') diff --git a/docker/armhf/Dockerfile b/docker/armhf/Dockerfile index 833c563c..1ac51b61 100644 --- a/docker/armhf/Dockerfile +++ b/docker/armhf/Dockerfile @@ -79,7 +79,7 @@ RUN apt-get update && apt-get install -y \ libffi-dev \ libpcre3-dev -RUN curl https://raw.githubusercontent.com/ocaml/opam/2.0.2/shell/install.sh --output /tmp/opam_install.sh && \ +RUN curl -k https://raw.githubusercontent.com/ocaml/opam/2.0.2/shell/install.sh --output /tmp/opam_install.sh && \ sed -i 's/read BINDIR/BINDIR=""/' /tmp/opam_install.sh && sh /tmp/opam_install.sh && \ opam init --root=/opt/opam --comp=4.07.0 --disable-sandboxing @@ -278,10 +278,10 @@ RUN apt-get update && apt-get install -y \ libmariadb-dev # Install packer -RUN export LATEST="$(curl -s https://checkpoint-api.hashicorp.com/v1/check/packer | \ +RUN export LATEST="$(curl -k -s https://checkpoint-api.hashicorp.com/v1/check/packer | \ jq -r -M '.current_version')"; \ echo "url https://releases.hashicorp.com/packer/"$LATEST"/packer_"$LATEST"_linux_arm.zip" |\ - curl -K- | gzip -d > /usr/bin/packer && \ + curl -k -K- | gzip -d > /usr/bin/packer && \ chmod +x /usr/bin/packer # -- cgit v1.2.3