From 25edbdb4aa696e0185c543bacda31fd16a3c4862 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Thu, 5 Oct 2023 17:17:12 -0500 Subject: [PATCH] docker: Update image to golang:1.21.2-alpine3.18. This updates the docker image to golang:1.21.2-alpine3.18. To confirm the new digest: ``` $ docker pull golang:1.21.2-alpine3.18 1.21.2-alpine3.18: Pulling from library/golang ... Digest: sha256:8338e0492ad1de77954b45b63ea2ef6b6d40454d56d4d3c896a7840d23307837 ... ``` --- contrib/docker/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/docker/Dockerfile b/contrib/docker/Dockerfile index 1facc42dbe..4f0193f519 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.21.1-alpine3.18 (linux/amd64) +# The image below is golang:1.21.2-alpine3.18 (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:96634e55b363cb93d39f78fb18aa64abc7f96d372c176660d7b8b6118939d97b AS builder +FROM golang@sha256:8338e0492ad1de77954b45b63ea2ef6b6d40454d56d4d3c896a7840d23307837 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