Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[security] Update golang #15486

Merged
merged 1 commit into from
Oct 5, 2023
Merged

Conversation

yosifkit
Copy link
Member

@yosifkit yosifkit commented Oct 5, 2023

Changes:

These releases contain fixes for CVE-2023-39323, golang/go#63211

Changes:

- docker-library/golang@d47076e: Update 1.20 to 1.20.9
- docker-library/golang@f0d301c: Update 1.21 to 1.21.2
@github-actions
Copy link

github-actions bot commented Oct 5, 2023

Diff for c385f11:
diff --git a/_bashbrew-cat b/_bashbrew-cat
index 37e092d..a3bb7d4 100644
--- a/_bashbrew-cat
+++ b/_bashbrew-cat
@@ -1,100 +1,100 @@
 Maintainers: Tianon Gravi <[email protected]> (@tianon), Joseph Ferguson <[email protected]> (@yosifkit), Johan Euphrosine <[email protected]> (@proppy)
 GitRepo: https://github.com/docker-library/golang.git
 
-Tags: 1.20.8-alpine3.17, 1.20-alpine3.17
+Tags: 1.20.9-alpine3.17, 1.20-alpine3.17
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 24115a7612dfca330632a04604cd72f673085e8a
+GitCommit: d47076e3070196e128f769ca0720009aacc86e65
 Directory: 1.20/alpine3.17
 
-Tags: 1.20.8-alpine3.18, 1.20-alpine3.18, 1.20.8-alpine, 1.20-alpine
+Tags: 1.20.9-alpine3.18, 1.20-alpine3.18, 1.20.9-alpine, 1.20-alpine
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 24115a7612dfca330632a04604cd72f673085e8a
+GitCommit: d47076e3070196e128f769ca0720009aacc86e65
 Directory: 1.20/alpine3.18
 
-Tags: 1.20.8-bookworm, 1.20-bookworm
-SharedTags: 1.20.8, 1.20
+Tags: 1.20.9-bookworm, 1.20-bookworm
+SharedTags: 1.20.9, 1.20
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 24115a7612dfca330632a04604cd72f673085e8a
+GitCommit: d47076e3070196e128f769ca0720009aacc86e65
 Directory: 1.20/bookworm
 
-Tags: 1.20.8-bullseye, 1.20-bullseye
+Tags: 1.20.9-bullseye, 1.20-bullseye
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 24115a7612dfca330632a04604cd72f673085e8a
+GitCommit: d47076e3070196e128f769ca0720009aacc86e65
 Directory: 1.20/bullseye
 
-Tags: 1.20.8-nanoserver-1809, 1.20-nanoserver-1809
-SharedTags: 1.20.8-nanoserver, 1.20-nanoserver
+Tags: 1.20.9-nanoserver-1809, 1.20-nanoserver-1809
+SharedTags: 1.20.9-nanoserver, 1.20-nanoserver
 Architectures: windows-amd64
-GitCommit: 24115a7612dfca330632a04604cd72f673085e8a
+GitCommit: d47076e3070196e128f769ca0720009aacc86e65
 Directory: 1.20/windows/nanoserver-1809
 Constraints: nanoserver-1809, windowsservercore-1809
 
-Tags: 1.20.8-nanoserver-ltsc2022, 1.20-nanoserver-ltsc2022
-SharedTags: 1.20.8-nanoserver, 1.20-nanoserver
+Tags: 1.20.9-nanoserver-ltsc2022, 1.20-nanoserver-ltsc2022
+SharedTags: 1.20.9-nanoserver, 1.20-nanoserver
 Architectures: windows-amd64
-GitCommit: 24115a7612dfca330632a04604cd72f673085e8a
+GitCommit: d47076e3070196e128f769ca0720009aacc86e65
 Directory: 1.20/windows/nanoserver-ltsc2022
 Constraints: nanoserver-ltsc2022, windowsservercore-ltsc2022
 
-Tags: 1.20.8-windowsservercore-1809, 1.20-windowsservercore-1809
-SharedTags: 1.20.8-windowsservercore, 1.20-windowsservercore, 1.20.8, 1.20
+Tags: 1.20.9-windowsservercore-1809, 1.20-windowsservercore-1809
+SharedTags: 1.20.9-windowsservercore, 1.20-windowsservercore, 1.20.9, 1.20
 Architectures: windows-amd64
-GitCommit: 24115a7612dfca330632a04604cd72f673085e8a
+GitCommit: d47076e3070196e128f769ca0720009aacc86e65
 Directory: 1.20/windows/windowsservercore-1809
 Constraints: windowsservercore-1809
 
-Tags: 1.20.8-windowsservercore-ltsc2022, 1.20-windowsservercore-ltsc2022
-SharedTags: 1.20.8-windowsservercore, 1.20-windowsservercore, 1.20.8, 1.20
+Tags: 1.20.9-windowsservercore-ltsc2022, 1.20-windowsservercore-ltsc2022
+SharedTags: 1.20.9-windowsservercore, 1.20-windowsservercore, 1.20.9, 1.20
 Architectures: windows-amd64
-GitCommit: 24115a7612dfca330632a04604cd72f673085e8a
+GitCommit: d47076e3070196e128f769ca0720009aacc86e65
 Directory: 1.20/windows/windowsservercore-ltsc2022
 Constraints: windowsservercore-ltsc2022
 
-Tags: 1.21.1-alpine3.17, 1.21-alpine3.17, 1-alpine3.17, alpine3.17
+Tags: 1.21.2-alpine3.17, 1.21-alpine3.17, 1-alpine3.17, alpine3.17
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: b643595f97209e0e67f0cf62e13d4fb6c609451b
+GitCommit: f0d301c385958888968d6ab8f8510c3cd5cce704
 Directory: 1.21/alpine3.17
 
-Tags: 1.21.1-alpine3.18, 1.21-alpine3.18, 1-alpine3.18, alpine3.18, 1.21.1-alpine, 1.21-alpine, 1-alpine, alpine
+Tags: 1.21.2-alpine3.18, 1.21-alpine3.18, 1-alpine3.18, alpine3.18, 1.21.2-alpine, 1.21-alpine, 1-alpine, alpine
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: b643595f97209e0e67f0cf62e13d4fb6c609451b
+GitCommit: f0d301c385958888968d6ab8f8510c3cd5cce704
 Directory: 1.21/alpine3.18
 
-Tags: 1.21.1-bookworm, 1.21-bookworm, 1-bookworm, bookworm
-SharedTags: 1.21.1, 1.21, 1, latest
+Tags: 1.21.2-bookworm, 1.21-bookworm, 1-bookworm, bookworm
+SharedTags: 1.21.2, 1.21, 1, latest
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: b643595f97209e0e67f0cf62e13d4fb6c609451b
+GitCommit: f0d301c385958888968d6ab8f8510c3cd5cce704
 Directory: 1.21/bookworm
 
-Tags: 1.21.1-bullseye, 1.21-bullseye, 1-bullseye, bullseye
+Tags: 1.21.2-bullseye, 1.21-bullseye, 1-bullseye, bullseye
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: b643595f97209e0e67f0cf62e13d4fb6c609451b
+GitCommit: f0d301c385958888968d6ab8f8510c3cd5cce704
 Directory: 1.21/bullseye
 
-Tags: 1.21.1-nanoserver-1809, 1.21-nanoserver-1809, 1-nanoserver-1809, nanoserver-1809
-SharedTags: 1.21.1-nanoserver, 1.21-nanoserver, 1-nanoserver, nanoserver
+Tags: 1.21.2-nanoserver-1809, 1.21-nanoserver-1809, 1-nanoserver-1809, nanoserver-1809
+SharedTags: 1.21.2-nanoserver, 1.21-nanoserver, 1-nanoserver, nanoserver
 Architectures: windows-amd64
-GitCommit: 585c8c1e705a7a458455f0629922a4f90628ce08
+GitCommit: f0d301c385958888968d6ab8f8510c3cd5cce704
 Directory: 1.21/windows/nanoserver-1809
 Constraints: nanoserver-1809, windowsservercore-1809
 
-Tags: 1.21.1-nanoserver-ltsc2022, 1.21-nanoserver-ltsc2022, 1-nanoserver-ltsc2022, nanoserver-ltsc2022
-SharedTags: 1.21.1-nanoserver, 1.21-nanoserver, 1-nanoserver, nanoserver
+Tags: 1.21.2-nanoserver-ltsc2022, 1.21-nanoserver-ltsc2022, 1-nanoserver-ltsc2022, nanoserver-ltsc2022
+SharedTags: 1.21.2-nanoserver, 1.21-nanoserver, 1-nanoserver, nanoserver
 Architectures: windows-amd64
-GitCommit: 585c8c1e705a7a458455f0629922a4f90628ce08
+GitCommit: f0d301c385958888968d6ab8f8510c3cd5cce704
 Directory: 1.21/windows/nanoserver-ltsc2022
 Constraints: nanoserver-ltsc2022, windowsservercore-ltsc2022
 
-Tags: 1.21.1-windowsservercore-1809, 1.21-windowsservercore-1809, 1-windowsservercore-1809, windowsservercore-1809
-SharedTags: 1.21.1-windowsservercore, 1.21-windowsservercore, 1-windowsservercore, windowsservercore, 1.21.1, 1.21, 1, latest
+Tags: 1.21.2-windowsservercore-1809, 1.21-windowsservercore-1809, 1-windowsservercore-1809, windowsservercore-1809
+SharedTags: 1.21.2-windowsservercore, 1.21-windowsservercore, 1-windowsservercore, windowsservercore, 1.21.2, 1.21, 1, latest
 Architectures: windows-amd64
-GitCommit: 585c8c1e705a7a458455f0629922a4f90628ce08
+GitCommit: f0d301c385958888968d6ab8f8510c3cd5cce704
 Directory: 1.21/windows/windowsservercore-1809
 Constraints: windowsservercore-1809
 
-Tags: 1.21.1-windowsservercore-ltsc2022, 1.21-windowsservercore-ltsc2022, 1-windowsservercore-ltsc2022, windowsservercore-ltsc2022
-SharedTags: 1.21.1-windowsservercore, 1.21-windowsservercore, 1-windowsservercore, windowsservercore, 1.21.1, 1.21, 1, latest
+Tags: 1.21.2-windowsservercore-ltsc2022, 1.21-windowsservercore-ltsc2022, 1-windowsservercore-ltsc2022, windowsservercore-ltsc2022
+SharedTags: 1.21.2-windowsservercore, 1.21-windowsservercore, 1-windowsservercore, windowsservercore, 1.21.2, 1.21, 1, latest
 Architectures: windows-amd64
-GitCommit: 585c8c1e705a7a458455f0629922a4f90628ce08
+GitCommit: f0d301c385958888968d6ab8f8510c3cd5cce704
 Directory: 1.21/windows/windowsservercore-ltsc2022
 Constraints: windowsservercore-ltsc2022
diff --git a/_bashbrew-list b/_bashbrew-list
index cd22f3b..132e3e4 100644
--- a/_bashbrew-list
+++ b/_bashbrew-list
@@ -22,18 +22,18 @@ golang:1.20-nanoserver-ltsc2022
 golang:1.20-windowsservercore
 golang:1.20-windowsservercore-1809
 golang:1.20-windowsservercore-ltsc2022
-golang:1.20.8
-golang:1.20.8-alpine
-golang:1.20.8-alpine3.17
-golang:1.20.8-alpine3.18
-golang:1.20.8-bookworm
-golang:1.20.8-bullseye
-golang:1.20.8-nanoserver
-golang:1.20.8-nanoserver-1809
-golang:1.20.8-nanoserver-ltsc2022
-golang:1.20.8-windowsservercore
-golang:1.20.8-windowsservercore-1809
-golang:1.20.8-windowsservercore-ltsc2022
+golang:1.20.9
+golang:1.20.9-alpine
+golang:1.20.9-alpine3.17
+golang:1.20.9-alpine3.18
+golang:1.20.9-bookworm
+golang:1.20.9-bullseye
+golang:1.20.9-nanoserver
+golang:1.20.9-nanoserver-1809
+golang:1.20.9-nanoserver-ltsc2022
+golang:1.20.9-windowsservercore
+golang:1.20.9-windowsservercore-1809
+golang:1.20.9-windowsservercore-ltsc2022
 golang:1.21
 golang:1.21-alpine
 golang:1.21-alpine3.17
@@ -46,18 +46,18 @@ golang:1.21-nanoserver-ltsc2022
 golang:1.21-windowsservercore
 golang:1.21-windowsservercore-1809
 golang:1.21-windowsservercore-ltsc2022
-golang:1.21.1
-golang:1.21.1-alpine
-golang:1.21.1-alpine3.17
-golang:1.21.1-alpine3.18
-golang:1.21.1-bookworm
-golang:1.21.1-bullseye
-golang:1.21.1-nanoserver
-golang:1.21.1-nanoserver-1809
-golang:1.21.1-nanoserver-ltsc2022
-golang:1.21.1-windowsservercore
-golang:1.21.1-windowsservercore-1809
-golang:1.21.1-windowsservercore-ltsc2022
+golang:1.21.2
+golang:1.21.2-alpine
+golang:1.21.2-alpine3.17
+golang:1.21.2-alpine3.18
+golang:1.21.2-bookworm
+golang:1.21.2-bullseye
+golang:1.21.2-nanoserver
+golang:1.21.2-nanoserver-1809
+golang:1.21.2-nanoserver-ltsc2022
+golang:1.21.2-windowsservercore
+golang:1.21.2-windowsservercore-1809
+golang:1.21.2-windowsservercore-ltsc2022
 golang:alpine
 golang:alpine3.17
 golang:alpine3.18
diff --git a/golang_1.20-alpine/Dockerfile b/golang_1.20-alpine/Dockerfile
index d1f30eb..eb5cf82 100644
--- a/golang_1.20-alpine/Dockerfile
+++ b/golang_1.20-alpine/Dockerfile
@@ -10,7 +10,7 @@ RUN apk add --no-cache ca-certificates
 
 ENV PATH /usr/local/go/bin:$PATH
 
-ENV GOLANG_VERSION 1.20.8
+ENV GOLANG_VERSION 1.20.9
 
 RUN set -eux; \
 	apk add --no-cache --virtual .fetch-deps gnupg; \
@@ -47,8 +47,8 @@ RUN set -eux; \
 	if [ -z "$url" ]; then \
 # https://github.com/golang/go/issues/38536#issuecomment-616897960
 		build=1; \
-		url='https://dl.google.com/go/go1.20.8.src.tar.gz'; \
-		sha256='38d71714fa5279f97240451956d8e47e3c1b6a5de7cb84137949d62b5dd3182e'; \
+		url='https://dl.google.com/go/go1.20.9.src.tar.gz'; \
+		sha256='4923920381cd71d68b527761afefa523ea18c5831b4795034c827e18b685cdcf'; \
 # the precompiled binaries published by Go upstream are not compatible with Alpine, so we always build from source here 😅
 	fi; \
 	\
diff --git a/golang_1.20-alpine3.17/Dockerfile b/golang_1.20-alpine3.17/Dockerfile
index bb5ba07..5a8402f 100644
--- a/golang_1.20-alpine3.17/Dockerfile
+++ b/golang_1.20-alpine3.17/Dockerfile
@@ -10,7 +10,7 @@ RUN apk add --no-cache ca-certificates
 
 ENV PATH /usr/local/go/bin:$PATH
 
-ENV GOLANG_VERSION 1.20.8
+ENV GOLANG_VERSION 1.20.9
 
 RUN set -eux; \
 	apk add --no-cache --virtual .fetch-deps gnupg; \
@@ -47,8 +47,8 @@ RUN set -eux; \
 	if [ -z "$url" ]; then \
 # https://github.com/golang/go/issues/38536#issuecomment-616897960
 		build=1; \
-		url='https://dl.google.com/go/go1.20.8.src.tar.gz'; \
-		sha256='38d71714fa5279f97240451956d8e47e3c1b6a5de7cb84137949d62b5dd3182e'; \
+		url='https://dl.google.com/go/go1.20.9.src.tar.gz'; \
+		sha256='4923920381cd71d68b527761afefa523ea18c5831b4795034c827e18b685cdcf'; \
 # the precompiled binaries published by Go upstream are not compatible with Alpine, so we always build from source here 😅
 	fi; \
 	\
diff --git a/golang_1.20-bookworm/Dockerfile b/golang_1.20-bookworm/Dockerfile
index 4558172..dd31e4d 100644
--- a/golang_1.20-bookworm/Dockerfile
+++ b/golang_1.20-bookworm/Dockerfile
@@ -20,44 +20,44 @@ RUN set -eux; \
 
 ENV PATH /usr/local/go/bin:$PATH
 
-ENV GOLANG_VERSION 1.20.8
+ENV GOLANG_VERSION 1.20.9
 
 RUN set -eux; \
 	arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \
 	url=; \
 	case "$arch" in \
 		'amd64') \
-			url='https://dl.google.com/go/go1.20.8.linux-amd64.tar.gz'; \
-			sha256='cc97c28d9c252fbf28f91950d830201aa403836cbed702a05932e63f7f0c7bc4'; \
+			url='https://dl.google.com/go/go1.20.9.linux-amd64.tar.gz'; \
+			sha256='8921369701afa749b07232d2c34d514510c32dbfd79c65adb379451b5f0d7216'; \
 			;; \
 		'armel') \
 			export GOARCH='arm' GOARM='5' GOOS='linux'; \
 			;; \
 		'armhf') \
-			url='https://dl.google.com/go/go1.20.8.linux-armv6l.tar.gz'; \
-			sha256='6fd6b0bd7861d8ff69d6f25b879c69cd25ee33b2cc52b6ed3a6c0d26368e0dcb'; \
+			url='https://dl.google.com/go/go1.20.9.linux-armv6l.tar.gz'; \
+			sha256='285c10d21172e6a249cef69bff69385b7ddf01ce674b584af73ad2dfa1d467c4'; \
 			;; \
 		'arm64') \
-			url='https://dl.google.com/go/go1.20.8.linux-arm64.tar.gz'; \
-			sha256='15ab379c6a2b0d086fe3e74be4599420e66549edf7426a300ee0f3809500f89e'; \
+			url='https://dl.google.com/go/go1.20.9.linux-arm64.tar.gz'; \
+			sha256='da7fca78f85b90b495382cd74b2d0a1c0b6aaa200e7feb27ae7198352b2317fa'; \
 			;; \
 		'i386') \
-			url='https://dl.google.com/go/go1.20.8.linux-386.tar.gz'; \
-			sha256='d6e526520cf519049a854d7344b0a5fbe9675a3f24e7f22c44e38d8387ef942c'; \
+			url='https://dl.google.com/go/go1.20.9.linux-386.tar.gz'; \
+			sha256='4cacfaf4a67c27d571c6e94e15e2a3abbcc540f8dfd0ca025f7ea049f8c1ef1b'; \
 			;; \
 		'mips64el') \
 			export GOARCH='mips64le' GOOS='linux'; \
 			;; \
 		'ppc64el') \
-			url='https://dl.google.com/go/go1.20.8.linux-ppc64le.tar.gz'; \
-			sha256='a5034a9c7eac6c5bcc650c2605c5edb4039c7b6064e2a2ea43c415c8af91f5f6'; \
+			url='https://dl.google.com/go/go1.20.9.linux-ppc64le.tar.gz'; \
+			sha256='2db0628914522d9d2dbc7070877131dd9d1f8f74387f2f32314b5cfb5e45ff82'; \
 			;; \
 		'riscv64') \
 			export GOARCH='riscv64' GOOS='linux'; \
 			;; \
 		's390x') \
-			url='https://dl.google.com/go/go1.20.8.linux-s390x.tar.gz'; \
-			sha256='28261a277f4a724d3a3c56b50ca892ea762778a4b64b5e16b2b8a81faf523394'; \
+			url='https://dl.google.com/go/go1.20.9.linux-s390x.tar.gz'; \
+			sha256='8816ff4872c7af6bd975d1c05ea572de49613ddc49f62093a1811535ee715e58'; \
 			;; \
 		*) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; \
 	esac; \
@@ -65,8 +65,8 @@ RUN set -eux; \
 	if [ -z "$url" ]; then \
 # https://github.com/golang/go/issues/38536#issuecomment-616897960
 		build=1; \
-		url='https://dl.google.com/go/go1.20.8.src.tar.gz'; \
-		sha256='38d71714fa5279f97240451956d8e47e3c1b6a5de7cb84137949d62b5dd3182e'; \
+		url='https://dl.google.com/go/go1.20.9.src.tar.gz'; \
+		sha256='4923920381cd71d68b527761afefa523ea18c5831b4795034c827e18b685cdcf'; \
 		echo >&2; \
 		echo >&2 "warning: current architecture ($arch) does not have a compatible Go binary release; will be building from source"; \
 		echo >&2; \
diff --git a/golang_1.20-bullseye/Dockerfile b/golang_1.20-bullseye/Dockerfile
index 079ce54..202c748 100644
--- a/golang_1.20-bullseye/Dockerfile
+++ b/golang_1.20-bullseye/Dockerfile
@@ -20,44 +20,44 @@ RUN set -eux; \
 
 ENV PATH /usr/local/go/bin:$PATH
 
-ENV GOLANG_VERSION 1.20.8
+ENV GOLANG_VERSION 1.20.9
 
 RUN set -eux; \
 	arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \
 	url=; \
 	case "$arch" in \
 		'amd64') \
-			url='https://dl.google.com/go/go1.20.8.linux-amd64.tar.gz'; \
-			sha256='cc97c28d9c252fbf28f91950d830201aa403836cbed702a05932e63f7f0c7bc4'; \
+			url='https://dl.google.com/go/go1.20.9.linux-amd64.tar.gz'; \
+			sha256='8921369701afa749b07232d2c34d514510c32dbfd79c65adb379451b5f0d7216'; \
 			;; \
 		'armel') \
 			export GOARCH='arm' GOARM='5' GOOS='linux'; \
 			;; \
 		'armhf') \
-			url='https://dl.google.com/go/go1.20.8.linux-armv6l.tar.gz'; \
-			sha256='6fd6b0bd7861d8ff69d6f25b879c69cd25ee33b2cc52b6ed3a6c0d26368e0dcb'; \
+			url='https://dl.google.com/go/go1.20.9.linux-armv6l.tar.gz'; \
+			sha256='285c10d21172e6a249cef69bff69385b7ddf01ce674b584af73ad2dfa1d467c4'; \
 			;; \
 		'arm64') \
-			url='https://dl.google.com/go/go1.20.8.linux-arm64.tar.gz'; \
-			sha256='15ab379c6a2b0d086fe3e74be4599420e66549edf7426a300ee0f3809500f89e'; \
+			url='https://dl.google.com/go/go1.20.9.linux-arm64.tar.gz'; \
+			sha256='da7fca78f85b90b495382cd74b2d0a1c0b6aaa200e7feb27ae7198352b2317fa'; \
 			;; \
 		'i386') \
-			url='https://dl.google.com/go/go1.20.8.linux-386.tar.gz'; \
-			sha256='d6e526520cf519049a854d7344b0a5fbe9675a3f24e7f22c44e38d8387ef942c'; \
+			url='https://dl.google.com/go/go1.20.9.linux-386.tar.gz'; \
+			sha256='4cacfaf4a67c27d571c6e94e15e2a3abbcc540f8dfd0ca025f7ea049f8c1ef1b'; \
 			;; \
 		'mips64el') \
 			export GOARCH='mips64le' GOOS='linux'; \
 			;; \
 		'ppc64el') \
-			url='https://dl.google.com/go/go1.20.8.linux-ppc64le.tar.gz'; \
-			sha256='a5034a9c7eac6c5bcc650c2605c5edb4039c7b6064e2a2ea43c415c8af91f5f6'; \
+			url='https://dl.google.com/go/go1.20.9.linux-ppc64le.tar.gz'; \
+			sha256='2db0628914522d9d2dbc7070877131dd9d1f8f74387f2f32314b5cfb5e45ff82'; \
 			;; \
 		'riscv64') \
 			export GOARCH='riscv64' GOOS='linux'; \
 			;; \
 		's390x') \
-			url='https://dl.google.com/go/go1.20.8.linux-s390x.tar.gz'; \
-			sha256='28261a277f4a724d3a3c56b50ca892ea762778a4b64b5e16b2b8a81faf523394'; \
+			url='https://dl.google.com/go/go1.20.9.linux-s390x.tar.gz'; \
+			sha256='8816ff4872c7af6bd975d1c05ea572de49613ddc49f62093a1811535ee715e58'; \
 			;; \
 		*) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; \
 	esac; \
@@ -65,8 +65,8 @@ RUN set -eux; \
 	if [ -z "$url" ]; then \
 # https://github.com/golang/go/issues/38536#issuecomment-616897960
 		build=1; \
-		url='https://dl.google.com/go/go1.20.8.src.tar.gz'; \
-		sha256='38d71714fa5279f97240451956d8e47e3c1b6a5de7cb84137949d62b5dd3182e'; \
+		url='https://dl.google.com/go/go1.20.9.src.tar.gz'; \
+		sha256='4923920381cd71d68b527761afefa523ea18c5831b4795034c827e18b685cdcf'; \
 		echo >&2; \
 		echo >&2 "warning: current architecture ($arch) does not have a compatible Go binary release; will be building from source"; \
 		echo >&2; \
diff --git a/golang_1.20-nanoserver-1809/Dockerfile b/golang_1.20-nanoserver-1809/Dockerfile
index 19b11cd..6fb56a9 100644
--- a/golang_1.20-nanoserver-1809/Dockerfile
+++ b/golang_1.20-nanoserver-1809/Dockerfile
@@ -21,10 +21,10 @@ RUN setx /m PATH "%GOPATH%\bin;C:\Program Files\Go\bin;%PATH%"
 USER ContainerUser
 # doing this first to share cache across versions more aggressively
 
-ENV GOLANG_VERSION 1.20.8
+ENV GOLANG_VERSION 1.20.9
 
 # Docker's Windows path parsing is absolutely *cursed*; please just trust me on this one -Tianon
-COPY --from=golang:1.20.8-windowsservercore-1809 ["C:\\\\Program Files\\\\Go","C:\\\\Program Files\\\\Go"]
+COPY --from=golang:1.20.9-windowsservercore-1809 ["C:\\\\Program Files\\\\Go","C:\\\\Program Files\\\\Go"]
 RUN go version
 
 WORKDIR $GOPATH
diff --git a/golang_1.20-nanoserver-ltsc2022/Dockerfile b/golang_1.20-nanoserver-ltsc2022/Dockerfile
index 1929012..7eb37f4 100644
--- a/golang_1.20-nanoserver-ltsc2022/Dockerfile
+++ b/golang_1.20-nanoserver-ltsc2022/Dockerfile
@@ -21,10 +21,10 @@ RUN setx /m PATH "%GOPATH%\bin;C:\Program Files\Go\bin;%PATH%"
 USER ContainerUser
 # doing this first to share cache across versions more aggressively
 
-ENV GOLANG_VERSION 1.20.8
+ENV GOLANG_VERSION 1.20.9
 
 # Docker's Windows path parsing is absolutely *cursed*; please just trust me on this one -Tianon
-COPY --from=golang:1.20.8-windowsservercore-ltsc2022 ["C:\\\\Program Files\\\\Go","C:\\\\Program Files\\\\Go"]
+COPY --from=golang:1.20.9-windowsservercore-ltsc2022 ["C:\\\\Program Files\\\\Go","C:\\\\Program Files\\\\Go"]
 RUN go version
 
 WORKDIR $GOPATH
diff --git a/golang_1.20-windowsservercore-1809/Dockerfile b/golang_1.20-windowsservercore-1809/Dockerfile
index 3537f0e..c31b8d1 100644
--- a/golang_1.20-windowsservercore-1809/Dockerfile
+++ b/golang_1.20-windowsservercore-1809/Dockerfile
@@ -53,14 +53,14 @@ RUN $newPath = ('{0}\bin;C:\Program Files\Go\bin;{1}' -f $env:GOPATH, $env:PATH)
 	[Environment]::SetEnvironmentVariable('PATH', $newPath, [EnvironmentVariableTarget]::Machine);
 # doing this first to share cache across versions more aggressively
 
-ENV GOLANG_VERSION 1.20.8
+ENV GOLANG_VERSION 1.20.9
 
-RUN $url = 'https://dl.google.com/go/go1.20.8.windows-amd64.zip'; \
+RUN $url = 'https://dl.google.com/go/go1.20.9.windows-amd64.zip'; \
 	Write-Host ('Downloading {0} ...' -f $url); \
 	[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \
 	Invoke-WebRequest -Uri $url -OutFile 'go.zip'; \
 	\
-	$sha256 = '6308336f7060023f2c9c58cdeefaa1389b5c4a96b4bd87b6ad742c57f8ac00da'; \
+	$sha256 = '76f40848a26b31df711f06a74ab41174f08415855fd2e0d6d70761c95e92c10d'; \
 	Write-Host ('Verifying sha256 ({0}) ...' -f $sha256); \
 	if ((Get-FileHash go.zip -Algorithm sha256).Hash -ne $sha256) { \
 		Write-Host 'FAILED!'; \
diff --git a/golang_1.20-windowsservercore-ltsc2022/Dockerfile b/golang_1.20-windowsservercore-ltsc2022/Dockerfile
index 503c0d2..7094701 100644
--- a/golang_1.20-windowsservercore-ltsc2022/Dockerfile
+++ b/golang_1.20-windowsservercore-ltsc2022/Dockerfile
@@ -53,14 +53,14 @@ RUN $newPath = ('{0}\bin;C:\Program Files\Go\bin;{1}' -f $env:GOPATH, $env:PATH)
 	[Environment]::SetEnvironmentVariable('PATH', $newPath, [EnvironmentVariableTarget]::Machine);
 # doing this first to share cache across versions more aggressively
 
-ENV GOLANG_VERSION 1.20.8
+ENV GOLANG_VERSION 1.20.9
 
-RUN $url = 'https://dl.google.com/go/go1.20.8.windows-amd64.zip'; \
+RUN $url = 'https://dl.google.com/go/go1.20.9.windows-amd64.zip'; \
 	Write-Host ('Downloading {0} ...' -f $url); \
 	[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \
 	Invoke-WebRequest -Uri $url -OutFile 'go.zip'; \
 	\
-	$sha256 = '6308336f7060023f2c9c58cdeefaa1389b5c4a96b4bd87b6ad742c57f8ac00da'; \
+	$sha256 = '76f40848a26b31df711f06a74ab41174f08415855fd2e0d6d70761c95e92c10d'; \
 	Write-Host ('Verifying sha256 ({0}) ...' -f $sha256); \
 	if ((Get-FileHash go.zip -Algorithm sha256).Hash -ne $sha256) { \
 		Write-Host 'FAILED!'; \
diff --git a/golang_alpine/Dockerfile b/golang_alpine/Dockerfile
index 3a4479c..35b4ae2 100644
--- a/golang_alpine/Dockerfile
+++ b/golang_alpine/Dockerfile
@@ -10,7 +10,7 @@ RUN apk add --no-cache ca-certificates
 
 ENV PATH /usr/local/go/bin:$PATH
 
-ENV GOLANG_VERSION 1.21.1
+ENV GOLANG_VERSION 1.21.2
 
 RUN set -eux; \
 	apk add --no-cache --virtual .fetch-deps gnupg; \
@@ -18,36 +18,36 @@ RUN set -eux; \
 	url=; \
 	case "$arch" in \
 		'x86_64') \
-			url='https://dl.google.com/go/go1.21.1.linux-amd64.tar.gz'; \
-			sha256='b3075ae1ce5dab85f89bc7905d1632de23ca196bd8336afd93fa97434cfa55ae'; \
+			url='https://dl.google.com/go/go1.21.2.linux-amd64.tar.gz'; \
+			sha256='f5414a770e5e11c6e9674d4cd4dd1f4f630e176d1828d3427ea8ca4211eee90d'; \
 			;; \
 		'armhf') \
-			url='https://dl.google.com/go/go1.21.1.linux-armv6l.tar.gz'; \
-			sha256='f3716a43f59ae69999841d6007b42c9e286e8d8ce470656fb3e70d7be2d7ca85'; \
+			url='https://dl.google.com/go/go1.21.2.linux-armv6l.tar.gz'; \
+			sha256='8727d842176a2bfd9edf307ed5411c39a69e2c6a748098987be361e8e0c36b46'; \
 			;; \
 		'armv7') \
-			url='https://dl.google.com/go/go1.21.1.linux-armv6l.tar.gz'; \
-			sha256='f3716a43f59ae69999841d6007b42c9e286e8d8ce470656fb3e70d7be2d7ca85'; \
+			url='https://dl.google.com/go/go1.21.2.linux-armv6l.tar.gz'; \
+			sha256='8727d842176a2bfd9edf307ed5411c39a69e2c6a748098987be361e8e0c36b46'; \
 			;; \
 		'aarch64') \
-			url='https://dl.google.com/go/go1.21.1.linux-arm64.tar.gz'; \
-			sha256='7da1a3936a928fd0b2602ed4f3ef535b8cd1990f1503b8d3e1acc0fa0759c967'; \
+			url='https://dl.google.com/go/go1.21.2.linux-arm64.tar.gz'; \
+			sha256='23e208ca44a3cb46cd4308e48a27c714ddde9c8c34f2e4211dbca95b6d456554'; \
 			;; \
 		'x86') \
-			url='https://dl.google.com/go/go1.21.1.linux-386.tar.gz'; \
-			sha256='b93850666cdadbd696a986cf7b03111fe99db8c34a9aaa113d7c96d0081e1901'; \
+			url='https://dl.google.com/go/go1.21.2.linux-386.tar.gz'; \
+			sha256='e2ccb4121a328c3fa297c6d653cc0a625a06935313c2367f8e026c3af56869c5'; \
 			;; \
 		'ppc64le') \
-			url='https://dl.google.com/go/go1.21.1.linux-ppc64le.tar.gz'; \
-			sha256='eddf018206f8a5589bda75252b72716d26611efebabdca5d0083ec15e9e41ab7'; \
+			url='https://dl.google.com/go/go1.21.2.linux-ppc64le.tar.gz'; \
+			sha256='429ae21664ee12fdddc9a04fd0646879da34d81fe3fd316d57250e7fd50e7c6b'; \
 			;; \
 		'riscv64') \
-			url='https://dl.google.com/go/go1.21.1.linux-riscv64.tar.gz'; \
-			sha256='fac64ed26e003f49f1d77f6d2c4cf951422aecbce12232d9ec1bf4585fc44ee1'; \
+			url='https://dl.google.com/go/go1.21.2.linux-riscv64.tar.gz'; \
+			sha256='040a6c0978bb4022b36a4c3c6077585ce98295d5eac4195ff15a5a3966904a3b'; \
 			;; \
 		's390x') \
-			url='https://dl.google.com/go/go1.21.1.linux-s390x.tar.gz'; \
-			sha256='a83b3e8eb4dbf76294e773055eb51397510ff4d612a247bad9903560267bba6d'; \
+			url='https://dl.google.com/go/go1.21.2.linux-s390x.tar.gz'; \
+			sha256='544c867180bf3384396b0906a7f14f4dc26bb7e78d4b05a8b45557b1b0ce0376'; \
 			;; \
 		*) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; \
 	esac; \
@@ -55,8 +55,8 @@ RUN set -eux; \
 	if [ -z "$url" ]; then \
 # https://github.com/golang/go/issues/38536#issuecomment-616897960
 		build=1; \
-		url='https://dl.google.com/go/go1.21.1.src.tar.gz'; \
-		sha256='bfa36bf75e9a1e9cbbdb9abcf9d1707e479bd3a07880a8ae3564caee5711cb99'; \
+		url='https://dl.google.com/go/go1.21.2.src.tar.gz'; \
+		sha256='45e59de173baec39481854490d665b726cec3e5b159f6b4172e5ec7780b2c201'; \
 		echo >&2; \
 		echo >&2 "warning: current architecture ($arch) does not have a compatible Go binary release; will be building from source"; \
 		echo >&2; \
diff --git a/golang_alpine3.17/Dockerfile b/golang_alpine3.17/Dockerfile
index 1af06fb..aca3e60 100644
--- a/golang_alpine3.17/Dockerfile
+++ b/golang_alpine3.17/Dockerfile
@@ -10,7 +10,7 @@ RUN apk add --no-cache ca-certificates
 
 ENV PATH /usr/local/go/bin:$PATH
 
-ENV GOLANG_VERSION 1.21.1
+ENV GOLANG_VERSION 1.21.2
 
 RUN set -eux; \
 	apk add --no-cache --virtual .fetch-deps gnupg; \
@@ -18,36 +18,36 @@ RUN set -eux; \
 	url=; \
 	case "$arch" in \
 		'x86_64') \
-			url='https://dl.google.com/go/go1.21.1.linux-amd64.tar.gz'; \
-			sha256='b3075ae1ce5dab85f89bc7905d1632de23ca196bd8336afd93fa97434cfa55ae'; \
+			url='https://dl.google.com/go/go1.21.2.linux-amd64.tar.gz'; \
+			sha256='f5414a770e5e11c6e9674d4cd4dd1f4f630e176d1828d3427ea8ca4211eee90d'; \
 			;; \
 		'armhf') \
-			url='https://dl.google.com/go/go1.21.1.linux-armv6l.tar.gz'; \
-			sha256='f3716a43f59ae69999841d6007b42c9e286e8d8ce470656fb3e70d7be2d7ca85'; \
+			url='https://dl.google.com/go/go1.21.2.linux-armv6l.tar.gz'; \
+			sha256='8727d842176a2bfd9edf307ed5411c39a69e2c6a748098987be361e8e0c36b46'; \
 			;; \
 		'armv7') \
-			url='https://dl.google.com/go/go1.21.1.linux-armv6l.tar.gz'; \
-			sha256='f3716a43f59ae69999841d6007b42c9e286e8d8ce470656fb3e70d7be2d7ca85'; \
+			url='https://dl.google.com/go/go1.21.2.linux-armv6l.tar.gz'; \
+			sha256='8727d842176a2bfd9edf307ed5411c39a69e2c6a748098987be361e8e0c36b46'; \
 			;; \
 		'aarch64') \
-			url='https://dl.google.com/go/go1.21.1.linux-arm64.tar.gz'; \
-			sha256='7da1a3936a928fd0b2602ed4f3ef535b8cd1990f1503b8d3e1acc0fa0759c967'; \
+			url='https://dl.google.com/go/go1.21.2.linux-arm64.tar.gz'; \
+			sha256='23e208ca44a3cb46cd4308e48a27c714ddde9c8c34f2e4211dbca95b6d456554'; \
 			;; \
 		'x86') \
-			url='https://dl.google.com/go/go1.21.1.linux-386.tar.gz'; \
-			sha256='b93850666cdadbd696a986cf7b03111fe99db8c34a9aaa113d7c96d0081e1901'; \
+			url='https://dl.google.com/go/go1.21.2.linux-386.tar.gz'; \
+			sha256='e2ccb4121a328c3fa297c6d653cc0a625a06935313c2367f8e026c3af56869c5'; \
 			;; \
 		'ppc64le') \
-			url='https://dl.google.com/go/go1.21.1.linux-ppc64le.tar.gz'; \
-			sha256='eddf018206f8a5589bda75252b72716d26611efebabdca5d0083ec15e9e41ab7'; \
+			url='https://dl.google.com/go/go1.21.2.linux-ppc64le.tar.gz'; \
+			sha256='429ae21664ee12fdddc9a04fd0646879da34d81fe3fd316d57250e7fd50e7c6b'; \
 			;; \
 		'riscv64') \
-			url='https://dl.google.com/go/go1.21.1.linux-riscv64.tar.gz'; \
-			sha256='fac64ed26e003f49f1d77f6d2c4cf951422aecbce12232d9ec1bf4585fc44ee1'; \
+			url='https://dl.google.com/go/go1.21.2.linux-riscv64.tar.gz'; \
+			sha256='040a6c0978bb4022b36a4c3c6077585ce98295d5eac4195ff15a5a3966904a3b'; \
 			;; \
 		's390x') \
-			url='https://dl.google.com/go/go1.21.1.linux-s390x.tar.gz'; \
-			sha256='a83b3e8eb4dbf76294e773055eb51397510ff4d612a247bad9903560267bba6d'; \
+			url='https://dl.google.com/go/go1.21.2.linux-s390x.tar.gz'; \
+			sha256='544c867180bf3384396b0906a7f14f4dc26bb7e78d4b05a8b45557b1b0ce0376'; \
 			;; \
 		*) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; \
 	esac; \
@@ -55,8 +55,8 @@ RUN set -eux; \
 	if [ -z "$url" ]; then \
 # https://github.com/golang/go/issues/38536#issuecomment-616897960
 		build=1; \
-		url='https://dl.google.com/go/go1.21.1.src.tar.gz'; \
-		sha256='bfa36bf75e9a1e9cbbdb9abcf9d1707e479bd3a07880a8ae3564caee5711cb99'; \
+		url='https://dl.google.com/go/go1.21.2.src.tar.gz'; \
+		sha256='45e59de173baec39481854490d665b726cec3e5b159f6b4172e5ec7780b2c201'; \
 		echo >&2; \
 		echo >&2 "warning: current architecture ($arch) does not have a compatible Go binary release; will be building from source"; \
 		echo >&2; \
diff --git a/golang_bookworm/Dockerfile b/golang_bookworm/Dockerfile
index 2603d3f..ae87f44 100644
--- a/golang_bookworm/Dockerfile
+++ b/golang_bookworm/Dockerfile
@@ -20,46 +20,46 @@ RUN set -eux; \
 
 ENV PATH /usr/local/go/bin:$PATH
 
-ENV GOLANG_VERSION 1.21.1
+ENV GOLANG_VERSION 1.21.2
 
 RUN set -eux; \
 	arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \
 	url=; \
 	case "$arch" in \
 		'amd64') \
-			url='https://dl.google.com/go/go1.21.1.linux-amd64.tar.gz'; \
-			sha256='b3075ae1ce5dab85f89bc7905d1632de23ca196bd8336afd93fa97434cfa55ae'; \
+			url='https://dl.google.com/go/go1.21.2.linux-amd64.tar.gz'; \
+			sha256='f5414a770e5e11c6e9674d4cd4dd1f4f630e176d1828d3427ea8ca4211eee90d'; \
 			;; \
 		'armel') \
 			export GOARCH='arm' GOARM='5' GOOS='linux'; \
 			;; \
 		'armhf') \
-			url='https://dl.google.com/go/go1.21.1.linux-armv6l.tar.gz'; \
-			sha256='f3716a43f59ae69999841d6007b42c9e286e8d8ce470656fb3e70d7be2d7ca85'; \
+			url='https://dl.google.com/go/go1.21.2.linux-armv6l.tar.gz'; \
+			sha256='8727d842176a2bfd9edf307ed5411c39a69e2c6a748098987be361e8e0c36b46'; \
 			;; \
 		'arm64') \
-			url='https://dl.google.com/go/go1.21.1.linux-arm64.tar.gz'; \
-			sha256='7da1a3936a928fd0b2602ed4f3ef535b8cd1990f1503b8d3e1acc0fa0759c967'; \
+			url='https://dl.google.com/go/go1.21.2.linux-arm64.tar.gz'; \
+			sha256='23e208ca44a3cb46cd4308e48a27c714ddde9c8c34f2e4211dbca95b6d456554'; \
 			;; \
 		'i386') \
-			url='https://dl.google.com/go/go1.21.1.linux-386.tar.gz'; \
-			sha256='b93850666cdadbd696a986cf7b03111fe99db8c34a9aaa113d7c96d0081e1901'; \
+			url='https://dl.google.com/go/go1.21.2.linux-386.tar.gz'; \
+			sha256='e2ccb4121a328c3fa297c6d653cc0a625a06935313c2367f8e026c3af56869c5'; \
 			;; \
 		'mips64el') \
-			url='https://dl.google.com/go/go1.21.1.linux-mips64le.tar.gz'; \
-			sha256='3aa007a41f533b50eae2491bbd29926ada09357367a8aa05e7e50ec50c78acf9'; \
+			url='https://dl.google.com/go/go1.21.2.linux-mips64le.tar.gz'; \
+			sha256='9b7e03ae43bd55bbbecd0a4c8928961488eb1ba404324ce80b606efc5f486a77'; \
 			;; \
 		'ppc64el') \
-			url='https://dl.google.com/go/go1.21.1.linux-ppc64le.tar.gz'; \
-			sha256='eddf018206f8a5589bda75252b72716d26611efebabdca5d0083ec15e9e41ab7'; \
+			url='https://dl.google.com/go/go1.21.2.linux-ppc64le.tar.gz'; \
+			sha256='429ae21664ee12fdddc9a04fd0646879da34d81fe3fd316d57250e7fd50e7c6b'; \
 			;; \
 		'riscv64') \
-			url='https://dl.google.com/go/go1.21.1.linux-riscv64.tar.gz'; \
-			sha256='fac64ed26e003f49f1d77f6d2c4cf951422aecbce12232d9ec1bf4585fc44ee1'; \
+			url='https://dl.google.com/go/go1.21.2.linux-riscv64.tar.gz'; \
+			sha256='040a6c0978bb4022b36a4c3c6077585ce98295d5eac4195ff15a5a3966904a3b'; \
 			;; \
 		's390x') \
-			url='https://dl.google.com/go/go1.21.1.linux-s390x.tar.gz'; \
-			sha256='a83b3e8eb4dbf76294e773055eb51397510ff4d612a247bad9903560267bba6d'; \
+			url='https://dl.google.com/go/go1.21.2.linux-s390x.tar.gz'; \
+			sha256='544c867180bf3384396b0906a7f14f4dc26bb7e78d4b05a8b45557b1b0ce0376'; \
 			;; \
 		*) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; \
 	esac; \
@@ -67,8 +67,8 @@ RUN set -eux; \
 	if [ -z "$url" ]; then \
 # https://github.com/golang/go/issues/38536#issuecomment-616897960
 		build=1; \
-		url='https://dl.google.com/go/go1.21.1.src.tar.gz'; \
-		sha256='bfa36bf75e9a1e9cbbdb9abcf9d1707e479bd3a07880a8ae3564caee5711cb99'; \
+		url='https://dl.google.com/go/go1.21.2.src.tar.gz'; \
+		sha256='45e59de173baec39481854490d665b726cec3e5b159f6b4172e5ec7780b2c201'; \
 		echo >&2; \
 		echo >&2 "warning: current architecture ($arch) does not have a compatible Go binary release; will be building from source"; \
 		echo >&2; \
diff --git a/golang_bullseye/Dockerfile b/golang_bullseye/Dockerfile
index cc549c6..2a2e0cb 100644
--- a/golang_bullseye/Dockerfile
+++ b/golang_bullseye/Dockerfile
@@ -20,46 +20,46 @@ RUN set -eux; \
 
 ENV PATH /usr/local/go/bin:$PATH
 
-ENV GOLANG_VERSION 1.21.1
+ENV GOLANG_VERSION 1.21.2
 
 RUN set -eux; \
 	arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \
 	url=; \
 	case "$arch" in \
 		'amd64') \
-			url='https://dl.google.com/go/go1.21.1.linux-amd64.tar.gz'; \
-			sha256='b3075ae1ce5dab85f89bc7905d1632de23ca196bd8336afd93fa97434cfa55ae'; \
+			url='https://dl.google.com/go/go1.21.2.linux-amd64.tar.gz'; \
+			sha256='f5414a770e5e11c6e9674d4cd4dd1f4f630e176d1828d3427ea8ca4211eee90d'; \
 			;; \
 		'armel') \
 			export GOARCH='arm' GOARM='5' GOOS='linux'; \
 			;; \
 		'armhf') \
-			url='https://dl.google.com/go/go1.21.1.linux-armv6l.tar.gz'; \
-			sha256='f3716a43f59ae69999841d6007b42c9e286e8d8ce470656fb3e70d7be2d7ca85'; \
+			url='https://dl.google.com/go/go1.21.2.linux-armv6l.tar.gz'; \
+			sha256='8727d842176a2bfd9edf307ed5411c39a69e2c6a748098987be361e8e0c36b46'; \
 			;; \
 		'arm64') \
-			url='https://dl.google.com/go/go1.21.1.linux-arm64.tar.gz'; \
-			sha256='7da1a3936a928fd0b2602ed4f3ef535b8cd1990f1503b8d3e1acc0fa0759c967'; \
+			url='https://dl.google.com/go/go1.21.2.linux-arm64.tar.gz'; \
+			sha256='23e208ca44a3cb46cd4308e48a27c714ddde9c8c34f2e4211dbca95b6d456554'; \
 			;; \
 		'i386') \
-			url='https://dl.google.com/go/go1.21.1.linux-386.tar.gz'; \
-			sha256='b93850666cdadbd696a986cf7b03111fe99db8c34a9aaa113d7c96d0081e1901'; \
+			url='https://dl.google.com/go/go1.21.2.linux-386.tar.gz'; \
+			sha256='e2ccb4121a328c3fa297c6d653cc0a625a06935313c2367f8e026c3af56869c5'; \
 			;; \
 		'mips64el') \
-			url='https://dl.google.com/go/go1.21.1.linux-mips64le.tar.gz'; \
-			sha256='3aa007a41f533b50eae2491bbd29926ada09357367a8aa05e7e50ec50c78acf9'; \
+			url='https://dl.google.com/go/go1.21.2.linux-mips64le.tar.gz'; \
+			sha256='9b7e03ae43bd55bbbecd0a4c8928961488eb1ba404324ce80b606efc5f486a77'; \
 			;; \
 		'ppc64el') \
-			url='https://dl.google.com/go/go1.21.1.linux-ppc64le.tar.gz'; \
-			sha256='eddf018206f8a5589bda75252b72716d26611efebabdca5d0083ec15e9e41ab7'; \
+			url='https://dl.google.com/go/go1.21.2.linux-ppc64le.tar.gz'; \
+			sha256='429ae21664ee12fdddc9a04fd0646879da34d81fe3fd316d57250e7fd50e7c6b'; \
 			;; \
 		'riscv64') \
-			url='https://dl.google.com/go/go1.21.1.linux-riscv64.tar.gz'; \
-			sha256='fac64ed26e003f49f1d77f6d2c4cf951422aecbce12232d9ec1bf4585fc44ee1'; \
+			url='https://dl.google.com/go/go1.21.2.linux-riscv64.tar.gz'; \
+			sha256='040a6c0978bb4022b36a4c3c6077585ce98295d5eac4195ff15a5a3966904a3b'; \
 			;; \
 		's390x') \
-			url='https://dl.google.com/go/go1.21.1.linux-s390x.tar.gz'; \
-			sha256='a83b3e8eb4dbf76294e773055eb51397510ff4d612a247bad9903560267bba6d'; \
+			url='https://dl.google.com/go/go1.21.2.linux-s390x.tar.gz'; \
+			sha256='544c867180bf3384396b0906a7f14f4dc26bb7e78d4b05a8b45557b1b0ce0376'; \
 			;; \
 		*) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; \
 	esac; \
@@ -67,8 +67,8 @@ RUN set -eux; \
 	if [ -z "$url" ]; then \
 # https://github.com/golang/go/issues/38536#issuecomment-616897960
 		build=1; \
-		url='https://dl.google.com/go/go1.21.1.src.tar.gz'; \
-		sha256='bfa36bf75e9a1e9cbbdb9abcf9d1707e479bd3a07880a8ae3564caee5711cb99'; \
+		url='https://dl.google.com/go/go1.21.2.src.tar.gz'; \
+		sha256='45e59de173baec39481854490d665b726cec3e5b159f6b4172e5ec7780b2c201'; \
 		echo >&2; \
 		echo >&2 "warning: current architecture ($arch) does not have a compatible Go binary release; will be building from source"; \
 		echo >&2; \
diff --git a/golang_nanoserver-1809/Dockerfile b/golang_nanoserver-1809/Dockerfile
index 20a6172..09eedd6 100644
--- a/golang_nanoserver-1809/Dockerfile
+++ b/golang_nanoserver-1809/Dockerfile
@@ -21,10 +21,10 @@ RUN setx /m PATH "%GOPATH%\bin;C:\Program Files\Go\bin;%PATH%"
 USER ContainerUser
 # doing this first to share cache across versions more aggressively
 
-ENV GOLANG_VERSION 1.21.1
+ENV GOLANG_VERSION 1.21.2
 
 # Docker's Windows path parsing is absolutely *cursed*; please just trust me on this one -Tianon
-COPY --from=golang:1.21.1-windowsservercore-1809 ["C:\\\\Program Files\\\\Go","C:\\\\Program Files\\\\Go"]
+COPY --from=golang:1.21.2-windowsservercore-1809 ["C:\\\\Program Files\\\\Go","C:\\\\Program Files\\\\Go"]
 RUN go version
 
 WORKDIR $GOPATH
diff --git a/golang_nanoserver-ltsc2022/Dockerfile b/golang_nanoserver-ltsc2022/Dockerfile
index 16b24dd..68dd69f 100644
--- a/golang_nanoserver-ltsc2022/Dockerfile
+++ b/golang_nanoserver-ltsc2022/Dockerfile
@@ -21,10 +21,10 @@ RUN setx /m PATH "%GOPATH%\bin;C:\Program Files\Go\bin;%PATH%"
 USER ContainerUser
 # doing this first to share cache across versions more aggressively
 
-ENV GOLANG_VERSION 1.21.1
+ENV GOLANG_VERSION 1.21.2
 
 # Docker's Windows path parsing is absolutely *cursed*; please just trust me on this one -Tianon
-COPY --from=golang:1.21.1-windowsservercore-ltsc2022 ["C:\\\\Program Files\\\\Go","C:\\\\Program Files\\\\Go"]
+COPY --from=golang:1.21.2-windowsservercore-ltsc2022 ["C:\\\\Program Files\\\\Go","C:\\\\Program Files\\\\Go"]
 RUN go version
 
 WORKDIR $GOPATH
diff --git a/golang_windowsservercore-1809/Dockerfile b/golang_windowsservercore-1809/Dockerfile
index 13be105..a4862c8 100644
--- a/golang_windowsservercore-1809/Dockerfile
+++ b/golang_windowsservercore-1809/Dockerfile
@@ -53,14 +53,14 @@ RUN $newPath = ('{0}\bin;C:\Program Files\Go\bin;{1}' -f $env:GOPATH, $env:PATH)
 	[Environment]::SetEnvironmentVariable('PATH', $newPath, [EnvironmentVariableTarget]::Machine);
 # doing this first to share cache across versions more aggressively
 
-ENV GOLANG_VERSION 1.21.1
+ENV GOLANG_VERSION 1.21.2
 
-RUN $url = 'https://dl.google.com/go/go1.21.1.windows-amd64.zip'; \
+RUN $url = 'https://dl.google.com/go/go1.21.2.windows-amd64.zip'; \
 	Write-Host ('Downloading {0} ...' -f $url); \
 	[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \
 	Invoke-WebRequest -Uri $url -OutFile 'go.zip'; \
 	\
-	$sha256 = '10a4f5b63215d11d1770453733dbcbf024f3f74872f84e28d7ea59f0250316c6'; \
+	$sha256 = '2cd46db02477f33559a4ebf8a176c22879b43fdcfddb1542a23876054f26a83f'; \
 	Write-Host ('Verifying sha256 ({0}) ...' -f $sha256); \
 	if ((Get-FileHash go.zip -Algorithm sha256).Hash -ne $sha256) { \
 		Write-Host 'FAILED!'; \
diff --git a/golang_windowsservercore-ltsc2022/Dockerfile b/golang_windowsservercore-ltsc2022/Dockerfile
index 85d55e3..ccdf1ab 100644
--- a/golang_windowsservercore-ltsc2022/Dockerfile
+++ b/golang_windowsservercore-ltsc2022/Dockerfile
@@ -53,14 +53,14 @@ RUN $newPath = ('{0}\bin;C:\Program Files\Go\bin;{1}' -f $env:GOPATH, $env:PATH)
 	[Environment]::SetEnvironmentVariable('PATH', $newPath, [EnvironmentVariableTarget]::Machine);
 # doing this first to share cache across versions more aggressively
 
-ENV GOLANG_VERSION 1.21.1
+ENV GOLANG_VERSION 1.21.2
 
-RUN $url = 'https://dl.google.com/go/go1.21.1.windows-amd64.zip'; \
+RUN $url = 'https://dl.google.com/go/go1.21.2.windows-amd64.zip'; \
 	Write-Host ('Downloading {0} ...' -f $url); \
 	[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \
 	Invoke-WebRequest -Uri $url -OutFile 'go.zip'; \
 	\
-	$sha256 = '10a4f5b63215d11d1770453733dbcbf024f3f74872f84e28d7ea59f0250316c6'; \
+	$sha256 = '2cd46db02477f33559a4ebf8a176c22879b43fdcfddb1542a23876054f26a83f'; \
 	Write-Host ('Verifying sha256 ({0}) ...' -f $sha256); \
 	if ((Get-FileHash go.zip -Algorithm sha256).Hash -ne $sha256) { \
 		Write-Host 'FAILED!'; \

Relevant Maintainers:

@yosifkit yosifkit merged commit 84418eb into docker-library:master Oct 5, 2023
@yosifkit yosifkit deleted the golang branch October 5, 2023 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants