diff --git a/scripts/docker-release/Dockerfile-release b/scripts/docker-release/Dockerfile-release index a5fc40f5f..81b41ca70 100644 --- a/scripts/docker-release/Dockerfile-release +++ b/scripts/docker-release/Dockerfile-release @@ -7,7 +7,7 @@ # tree, without any dependency on there being an existing release on # releases.hashicorp.com. -FROM alpine:3.12 as build +FROM alpine:latest as build LABEL maintainer="HashiCorp Terraform Team " # This is intended to be run from the hooks/build script, which sets this @@ -33,7 +33,7 @@ RUN apk add --no-cache git curl openssh gnupg && \ unzip terraform_${TERRAFORM_VERSION}_linux_amd64.zip -d /bin && \ rm -f terraform_${TERRAFORM_VERSION}_linux_amd64.zip terraform_${TERRAFORM_VERSION}_SHA256SUMS* -FROM alpine:3.12 as final +FROM alpine:latest as final ARG TERRAFORM_VERSION=UNSPECIFIED LABEL "com.hashicorp.terraform.version"="${TERRAFORM_VERSION}"