mirror of
https://github.com/hashicorp/terraform.git
synced 2026-05-28 04:03:27 -04:00
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:
parent
3c942ee3ac
commit
bac413d3c0
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue