Pinned tag using SHA.

Pinned docker images by SHA instead of a tag because tags can be moved while SHA can’t.
This commit is contained in:
nathannaveen 2021-10-10 19:18:58 -05:00
parent 3c942ee3ac
commit bac413d3c0

View file

@ -7,7 +7,10 @@
# the officially-released binary from releases.hashicorp.com and are
# built by the (closed-source) official release process.
FROM docker.mirror.hashicorp.services/golang:alpine
# Pinned tag using SHA
# sha256:c2335038e2230960f81cb2f9f1fc5eca45e23b765de1848c7bbfaebcfd32d90d
# https://github.com/google/go-containerregistry/blob/main/cmid/crane/README.md
FROM docker.mirror.hashicorp.services/golang@sha256:c2335038e2230960f81cb2f9f1fc5eca45e23b765de1848c7bbfaebcfd32d90d
LABEL maintainer="HashiCorp Terraform Team <terraform@hashicorp.com>"
RUN apk add --no-cache git bash openssh