diff options
author | dd <dd@wx.tnyzeq.icu> | 2024-05-29 10:26:14 +0200 |
---|---|---|
committer | dd <dd@wx.tnyzeq.icu> | 2024-05-29 10:26:14 +0200 |
commit | a2adceefbdf74a8df2285f291bf8b9b90bb7a320 (patch) | |
tree | 25f795590501f7ad5e4e498ff17e5d522e828a1b /docker | |
parent | 30e081efd43cd8ec6b2fb386dce83d0340fae04e (diff) | |
parent | b3da0d46ea029b65a8853b3197374931703a4b60 (diff) | |
download | vyos-build-a2adceefbdf74a8df2285f291bf8b9b90bb7a320.tar.gz vyos-build-a2adceefbdf74a8df2285f291bf8b9b90bb7a320.zip |
Merge branch 'vyos:equuleus' into equuleus
Diffstat (limited to 'docker')
-rw-r--r-- | docker/Dockerfile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 7f1f24d2..2d6f8510 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -201,9 +201,11 @@ RUN wget https://salsa.debian.org/klausenbusk-guest/debootstrap/commit/a9a603b17 RUN if dpkg-architecture -ii386 || dpkg-architecture -iamd64; then \ export LATEST="$(curl -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_amd64.zip" |\ - echo "url https://releases.hashicorp.com/packer/1.10.2/packer_1.10.2_linux_amd64.zip" |\ - curl -K- | gzip -d > /usr/bin/packer && \ + export ZIP="packer_${LATEST}_linux_amd64.zip"; \ + echo "url https://releases.hashicorp.com/packer/${LATEST}/${ZIP}" |\ + curl -K- | dd of=/tmp/${ZIP} ; \ + unzip -d /tmp /tmp/${ZIP} ;\ + mv /tmp/packer /usr/bin/packer && \ chmod +x /usr/bin/packer; \ fi |