pass ARG to second stage docker light image build

This commit is contained in:
Alvin Huang 2020-06-17 13:07:30 -04:00
parent 1a43187e49
commit 2de5556491
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ RUN apk add --no-cache git curl openssh gnupg && \
rm -f terraform_${TERRAFORM_VERSION}_linux_amd64.zip terraform_${TERRAFORM_VERSION}_SHA256SUMS* rm -f terraform_${TERRAFORM_VERSION}_linux_amd64.zip terraform_${TERRAFORM_VERSION}_SHA256SUMS*
FROM alpine:3.9.2 as final FROM alpine:3.9.2 as final
ARG TERRAFORM_VERSION=UNSPECIFIED
LABEL "com.hashicorp.terraform.version"="${TERRAFORM_VERSION}" LABEL "com.hashicorp.terraform.version"="${TERRAFORM_VERSION}"