From 902f11b216a168bfe640a7f7ec72ce9f0b3e6606 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sat, 20 Oct 2018 00:52:22 +0800 Subject: [PATCH] refactor: Add arch in Dockerfile --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e63cc72..5560273 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,8 @@ RUN apk add --no-cache ca-certificates \ rm -rf /var/cache/apk/* ENV PACKER_VERSION 1.3.1 -RUN wget -q https://releases.hashicorp.com/packer/${PACKER_VERSION}/packer_${PACKER_VERSION}_linux_amd64.zip -O packer.zip && \ +ENV PACKER_ARCH amd64 +RUN wget -q https://releases.hashicorp.com/packer/${PACKER_VERSION}/packer_${PACKER_VERSION}_linux_${PACKER_ARCH}.zip -O packer.zip && \ unzip packer.zip -d /bin && \ rm -f packer.zip