From bf2fac7362cc80278beac5640bd4144316a8ebfc Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Fri, 24 Feb 2023 01:18:26 -0600 Subject: [PATCH] docker: Update image to golang:1.20.1-alpine3.17. This updates the docker image to golang:1.20.1-alpine3.17. To confirm the new digest: ``` $ docker pull golang:1.20.1-alpine3.17 ... 1.20.1-alpine3.17: Pulling from library/golang ... Digest: sha256:48f336ef8366b9d6246293e3047259d0f614ee167db1869bdbc343d6e09aed8a ... ``` --- contrib/docker/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/docker/Dockerfile b/contrib/docker/Dockerfile index f84b02ca13..f3ceb88435 100644 --- a/contrib/docker/Dockerfile +++ b/contrib/docker/Dockerfile @@ -3,13 +3,13 @@ ############### # Basic Go environment with git, SSL CA certs, and upx. -# The image below is golang:1.19.5-alpine3.17 (linux/amd64) +# The image below is golang:1.20.1-alpine3.17 (linux/amd64) # It's pulled by the digest (immutable id) to avoid supply-chain attacks. # Maintainer Note: # To update to a new digest, you must first manually pull the new image: # `docker pull golang:` # Docker will print the digest of the new image after the pull has finished. -FROM golang@sha256:2381c1e5f8350a901597d633b2e517775eeac7a6682be39225a93b22cfd0f8bb AS builder +FROM golang@sha256:48f336ef8366b9d6246293e3047259d0f614ee167db1869bdbc343d6e09aed8a AS builder RUN apk add --no-cache git ca-certificates upx # Empty directory to be copied into place in the production image since it will