diff options
author | Kim <kim.sidney@gmail.com> | 2019-09-20 08:41:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-20 08:41:17 +0200 |
commit | 9964bbbb239519bdf0a153c1dcddf18cdb4c0fbe (patch) | |
tree | 96cfe254248968f58203c31607ae354168c1aac5 /docker/armhf | |
parent | 672c6153a8c9893095d1595a366660d82d116862 (diff) | |
download | vyos-build-9964bbbb239519bdf0a153c1dcddf18cdb4c0fbe.tar.gz vyos-build-9964bbbb239519bdf0a153c1dcddf18cdb4c0fbe.zip |
Ignore certificates in curl
Diffstat (limited to 'docker/armhf')
-rw-r--r-- | docker/armhf/Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
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 # |