Merge pull request #31663 from hashicorp/fix-docker-version-label

set PRODUCT_VERSION for default docker build
This commit is contained in:
Alvin Huang 2022-08-19 13:22:26 -04:00 committed by GitHub
commit c27d068830
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,10 +24,10 @@ ARG TARGETARCH
LABEL maintainer="HashiCorp Terraform Team <terraform@hashicorp.com>"
# New standard version label.
LABEL version=$VERSION
LABEL version=$PRODUCT_VERSION
# Historical Terraform-specific label preserved for backward compatibility.
LABEL "com.hashicorp.terraform.version"="${VERSION}"
LABEL "com.hashicorp.terraform.version"="${PRODUCT_VERSION}"
RUN apk add --no-cache git openssh