From c6322d513aee03139d91a4e45490dc02d070f278 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Tue, 5 Mar 2024 16:30:44 -0600 Subject: [PATCH] docker: Update image to golang:1.22.1-alpine3.19. This updates the docker image to golang:1.22.1-alpine3.19. To confirm the new digest: ``` $ docker pull golang:1.22.1-alpine3.19 1.22.1-alpine3.19: Pulling from library/golang ... Digest: sha256:fc5e5848529786cf1136563452b33d713d5c60b2c787f6b2a077fa6eeefd9114 ... ``` --- contrib/docker/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/docker/Dockerfile b/contrib/docker/Dockerfile index 189f0a4be5..8f82742543 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.22.0-alpine3.19 (linux/amd64) +# The image below is golang:1.22.1-alpine3.19 (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:8e96e6cff6a388c2f70f5f662b64120941fcd7d4b89d62fec87520323a316bd9 AS builder +FROM golang@sha256:fc5e5848529786cf1136563452b33d713d5c60b2c787f6b2a077fa6eeefd9114 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