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

Update golang #17033

Merged
merged 1 commit into from
Jun 22, 2024
Merged

Update golang #17033

merged 1 commit into from
Jun 22, 2024

Conversation

tianon
Copy link
Member

@tianon tianon commented Jun 21, 2024

Changes:

Changes:

- docker-library/golang@bc8da69: Merge pull request docker-library/golang#524 from infosiftr/1.23rc1
- docker-library/golang@d59b341: Add 1.23rc1
@tianon tianon requested a review from a team as a code owner June 21, 2024 17:42
Copy link

Diff for d8ba780:
diff --git a/_bashbrew-cat b/_bashbrew-cat
index 3af3cea..7828de0 100644
--- a/_bashbrew-cat
+++ b/_bashbrew-cat
@@ -107,3 +107,56 @@ GitCommit: 58bc678a838d467ca5afb7e0ee636cf5b8459da2
 Directory: 1.22/windows/windowsservercore-ltsc2022
 Builder: classic
 Constraints: windowsservercore-ltsc2022
+
+Tags: 1.23rc1-alpine3.19, 1.23-rc-alpine3.19
+Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
+GitCommit: d59b341d37b5b2314cad111c54170ebf54f1ca4e
+Directory: 1.23-rc/alpine3.19
+
+Tags: 1.23rc1-alpine3.20, 1.23-rc-alpine3.20, 1.23rc1-alpine, 1.23-rc-alpine
+Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
+GitCommit: d59b341d37b5b2314cad111c54170ebf54f1ca4e
+Directory: 1.23-rc/alpine3.20
+
+Tags: 1.23rc1-bookworm, 1.23-rc-bookworm
+SharedTags: 1.23rc1, 1.23-rc
+Architectures: amd64, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
+GitCommit: d59b341d37b5b2314cad111c54170ebf54f1ca4e
+Directory: 1.23-rc/bookworm
+
+Tags: 1.23rc1-bullseye, 1.23-rc-bullseye
+Architectures: amd64, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
+GitCommit: d59b341d37b5b2314cad111c54170ebf54f1ca4e
+Directory: 1.23-rc/bullseye
+
+Tags: 1.23rc1-nanoserver-1809, 1.23-rc-nanoserver-1809
+SharedTags: 1.23rc1-nanoserver, 1.23-rc-nanoserver
+Architectures: windows-amd64
+GitCommit: d59b341d37b5b2314cad111c54170ebf54f1ca4e
+Directory: 1.23-rc/windows/nanoserver-1809
+Builder: classic
+Constraints: nanoserver-1809, windowsservercore-1809
+
+Tags: 1.23rc1-nanoserver-ltsc2022, 1.23-rc-nanoserver-ltsc2022
+SharedTags: 1.23rc1-nanoserver, 1.23-rc-nanoserver
+Architectures: windows-amd64
+GitCommit: d59b341d37b5b2314cad111c54170ebf54f1ca4e
+Directory: 1.23-rc/windows/nanoserver-ltsc2022
+Builder: classic
+Constraints: nanoserver-ltsc2022, windowsservercore-ltsc2022
+
+Tags: 1.23rc1-windowsservercore-1809, 1.23-rc-windowsservercore-1809
+SharedTags: 1.23rc1-windowsservercore, 1.23-rc-windowsservercore, 1.23rc1, 1.23-rc
+Architectures: windows-amd64
+GitCommit: d59b341d37b5b2314cad111c54170ebf54f1ca4e
+Directory: 1.23-rc/windows/windowsservercore-1809
+Builder: classic
+Constraints: windowsservercore-1809
+
+Tags: 1.23rc1-windowsservercore-ltsc2022, 1.23-rc-windowsservercore-ltsc2022
+SharedTags: 1.23rc1-windowsservercore, 1.23-rc-windowsservercore, 1.23rc1, 1.23-rc
+Architectures: windows-amd64
+GitCommit: d59b341d37b5b2314cad111c54170ebf54f1ca4e
+Directory: 1.23-rc/windows/windowsservercore-ltsc2022
+Builder: classic
+Constraints: windowsservercore-ltsc2022
diff --git a/_bashbrew-list b/_bashbrew-list
index 102306e..ec116cf 100644
--- a/_bashbrew-list
+++ b/_bashbrew-list
@@ -58,6 +58,30 @@ golang:1.22.4-nanoserver-ltsc2022
 golang:1.22.4-windowsservercore
 golang:1.22.4-windowsservercore-1809
 golang:1.22.4-windowsservercore-ltsc2022
+golang:1.23rc1
+golang:1.23rc1-alpine
+golang:1.23rc1-alpine3.19
+golang:1.23rc1-alpine3.20
+golang:1.23rc1-bookworm
+golang:1.23rc1-bullseye
+golang:1.23rc1-nanoserver
+golang:1.23rc1-nanoserver-1809
+golang:1.23rc1-nanoserver-ltsc2022
+golang:1.23rc1-windowsservercore
+golang:1.23rc1-windowsservercore-1809
+golang:1.23rc1-windowsservercore-ltsc2022
+golang:1.23-rc
+golang:1.23-rc-alpine
+golang:1.23-rc-alpine3.19
+golang:1.23-rc-alpine3.20
+golang:1.23-rc-bookworm
+golang:1.23-rc-bullseye
+golang:1.23-rc-nanoserver
+golang:1.23-rc-nanoserver-1809
+golang:1.23-rc-nanoserver-ltsc2022
+golang:1.23-rc-windowsservercore
+golang:1.23-rc-windowsservercore-1809
+golang:1.23-rc-windowsservercore-ltsc2022
 golang:alpine
 golang:alpine3.19
 golang:alpine3.20
diff --git a/golang_1.21-alpine/Dockerfile b/golang_1.23-rc-alpine/Dockerfile
similarity index 76%
copy from golang_1.21-alpine/Dockerfile
copy to golang_1.23-rc-alpine/Dockerfile
index fd065dc..c064a92 100644
--- a/golang_1.21-alpine/Dockerfile
+++ b/golang_1.23-rc-alpine/Dockerfile
@@ -8,7 +8,7 @@ FROM alpine:3.20 AS build
 
 ENV PATH /usr/local/go/bin:$PATH
 
-ENV GOLANG_VERSION 1.21.11
+ENV GOLANG_VERSION 1.23rc1
 
 RUN set -eux; \
 	now="$(date '+%s')"; \
@@ -22,36 +22,36 @@ RUN set -eux; \
 	url=; \
 	case "$arch" in \
 		'x86_64') \
-			url='https://dl.google.com/go/go1.21.11.linux-amd64.tar.gz'; \
-			sha256='54a87a9325155b98c85bc04dc50298ddd682489eb47f486f2e6cb0707554abf0'; \
+			url='https://dl.google.com/go/go1.23rc1.linux-amd64.tar.gz'; \
+			sha256='0d8543abb8f4d566b3c8ef25b38e578ae2cb357bba2db8f0c0481531d8e1c939'; \
 			;; \
 		'armhf') \
-			url='https://dl.google.com/go/go1.21.11.linux-armv6l.tar.gz'; \
-			sha256='a62bff8297816a387a36bbda2889dd0dbcf0f8ce03bc62162ecd6918d6acecb5'; \
+			url='https://dl.google.com/go/go1.23rc1.linux-armv6l.tar.gz'; \
+			sha256='6aaf0968817cadb372aff885cfd2c5b6c3a121f1cb890c0ad54106cbc5317c8a'; \
 			;; \
 		'armv7') \
-			url='https://dl.google.com/go/go1.21.11.linux-armv6l.tar.gz'; \
-			sha256='a62bff8297816a387a36bbda2889dd0dbcf0f8ce03bc62162ecd6918d6acecb5'; \
+			url='https://dl.google.com/go/go1.23rc1.linux-armv6l.tar.gz'; \
+			sha256='6aaf0968817cadb372aff885cfd2c5b6c3a121f1cb890c0ad54106cbc5317c8a'; \
 			;; \
 		'aarch64') \
-			url='https://dl.google.com/go/go1.21.11.linux-arm64.tar.gz'; \
-			sha256='715d9a7ff72e4e0e3378c48318c52c6e4dd32a47c4136f3c08846f89b2ee2241'; \
+			url='https://dl.google.com/go/go1.23rc1.linux-arm64.tar.gz'; \
+			sha256='1208d96e6535ccf32ceee2f876dbbec588bf0921861d2224b809cbfe797f2319'; \
 			;; \
 		'x86') \
-			url='https://dl.google.com/go/go1.21.11.linux-386.tar.gz'; \
-			sha256='8b00cbc2519c2d052177bf2c8472bf06578d3b0182eeb3406a1d7d4e5d4c59ef'; \
+			url='https://dl.google.com/go/go1.23rc1.linux-386.tar.gz'; \
+			sha256='770f682ad2b7b2305915fbf2918acf67ef5a06654cdcac1f859d195b2e7d9861'; \
 			;; \
 		'ppc64le') \
-			url='https://dl.google.com/go/go1.21.11.linux-ppc64le.tar.gz'; \
-			sha256='6f5e18187abc4ff1c3173afbe38ef29f84b6d1ee7173f40075a4134863b209a5'; \
+			url='https://dl.google.com/go/go1.23rc1.linux-ppc64le.tar.gz'; \
+			sha256='bbb5f0f6895f25173e436ef2549342db050b6c2d3e094a0db306a4fa27c231bf'; \
 			;; \
 		'riscv64') \
-			url='https://dl.google.com/go/go1.21.11.linux-riscv64.tar.gz'; \
-			sha256='3ee5f9aac2f252838d88bb4cf93560c567814889c74d87ad8a04be16aa5e1b21'; \
+			url='https://dl.google.com/go/go1.23rc1.linux-riscv64.tar.gz'; \
+			sha256='8cb299c73325de4bf59a9788e9851afdead7ab45d8da1eec8bb5f774c4014f8e'; \
 			;; \
 		's390x') \
-			url='https://dl.google.com/go/go1.21.11.linux-s390x.tar.gz'; \
-			sha256='489c363d5da2d3d5709419bda61856582c5ebdc7874ca7ecdebf67d736d329e6'; \
+			url='https://dl.google.com/go/go1.23rc1.linux-s390x.tar.gz'; \
+			sha256='7d35beef23925061b0a219a8338a1525f74647fc22aeecab97b983a9d6114054'; \
 			;; \
 		*) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; \
 	esac; \
@@ -114,7 +114,7 @@ FROM alpine:3.20
 
 RUN apk add --no-cache ca-certificates
 
-ENV GOLANG_VERSION 1.21.11
+ENV GOLANG_VERSION 1.23rc1
 
 # don't auto-upgrade the gotoolchain
 # https://github.com/docker-library/golang/issues/472
diff --git a/golang_1.21-alpine3.19/Dockerfile b/golang_1.23-rc-alpine3.19/Dockerfile
similarity index 76%
copy from golang_1.21-alpine3.19/Dockerfile
copy to golang_1.23-rc-alpine3.19/Dockerfile
index 63f7a74..8898af3 100644
--- a/golang_1.21-alpine3.19/Dockerfile
+++ b/golang_1.23-rc-alpine3.19/Dockerfile
@@ -8,7 +8,7 @@ FROM alpine:3.19 AS build
 
 ENV PATH /usr/local/go/bin:$PATH
 
-ENV GOLANG_VERSION 1.21.11
+ENV GOLANG_VERSION 1.23rc1
 
 RUN set -eux; \
 	now="$(date '+%s')"; \
@@ -22,36 +22,36 @@ RUN set -eux; \
 	url=; \
 	case "$arch" in \
 		'x86_64') \
-			url='https://dl.google.com/go/go1.21.11.linux-amd64.tar.gz'; \
-			sha256='54a87a9325155b98c85bc04dc50298ddd682489eb47f486f2e6cb0707554abf0'; \
+			url='https://dl.google.com/go/go1.23rc1.linux-amd64.tar.gz'; \
+			sha256='0d8543abb8f4d566b3c8ef25b38e578ae2cb357bba2db8f0c0481531d8e1c939'; \
 			;; \
 		'armhf') \
-			url='https://dl.google.com/go/go1.21.11.linux-armv6l.tar.gz'; \
-			sha256='a62bff8297816a387a36bbda2889dd0dbcf0f8ce03bc62162ecd6918d6acecb5'; \
+			url='https://dl.google.com/go/go1.23rc1.linux-armv6l.tar.gz'; \
+			sha256='6aaf0968817cadb372aff885cfd2c5b6c3a121f1cb890c0ad54106cbc5317c8a'; \
 			;; \
 		'armv7') \
-			url='https://dl.google.com/go/go1.21.11.linux-armv6l.tar.gz'; \
-			sha256='a62bff8297816a387a36bbda2889dd0dbcf0f8ce03bc62162ecd6918d6acecb5'; \
+			url='https://dl.google.com/go/go1.23rc1.linux-armv6l.tar.gz'; \
+			sha256='6aaf0968817cadb372aff885cfd2c5b6c3a121f1cb890c0ad54106cbc5317c8a'; \
 			;; \
 		'aarch64') \
-			url='https://dl.google.com/go/go1.21.11.linux-arm64.tar.gz'; \
-			sha256='715d9a7ff72e4e0e3378c48318c52c6e4dd32a47c4136f3c08846f89b2ee2241'; \
+			url='https://dl.google.com/go/go1.23rc1.linux-arm64.tar.gz'; \
+			sha256='1208d96e6535ccf32ceee2f876dbbec588bf0921861d2224b809cbfe797f2319'; \
 			;; \
 		'x86') \
-			url='https://dl.google.com/go/go1.21.11.linux-386.tar.gz'; \
-			sha256='8b00cbc2519c2d052177bf2c8472bf06578d3b0182eeb3406a1d7d4e5d4c59ef'; \
+			url='https://dl.google.com/go/go1.23rc1.linux-386.tar.gz'; \
+			sha256='770f682ad2b7b2305915fbf2918acf67ef5a06654cdcac1f859d195b2e7d9861'; \
 			;; \
 		'ppc64le') \
-			url='https://dl.google.com/go/go1.21.11.linux-ppc64le.tar.gz'; \
-			sha256='6f5e18187abc4ff1c3173afbe38ef29f84b6d1ee7173f40075a4134863b209a5'; \
+			url='https://dl.google.com/go/go1.23rc1.linux-ppc64le.tar.gz'; \
+			sha256='bbb5f0f6895f25173e436ef2549342db050b6c2d3e094a0db306a4fa27c231bf'; \
 			;; \
 		'riscv64') \
-			url='https://dl.google.com/go/go1.21.11.linux-riscv64.tar.gz'; \
-			sha256='3ee5f9aac2f252838d88bb4cf93560c567814889c74d87ad8a04be16aa5e1b21'; \
+			url='https://dl.google.com/go/go1.23rc1.linux-riscv64.tar.gz'; \
+			sha256='8cb299c73325de4bf59a9788e9851afdead7ab45d8da1eec8bb5f774c4014f8e'; \
 			;; \
 		's390x') \
-			url='https://dl.google.com/go/go1.21.11.linux-s390x.tar.gz'; \
-			sha256='489c363d5da2d3d5709419bda61856582c5ebdc7874ca7ecdebf67d736d329e6'; \
+			url='https://dl.google.com/go/go1.23rc1.linux-s390x.tar.gz'; \
+			sha256='7d35beef23925061b0a219a8338a1525f74647fc22aeecab97b983a9d6114054'; \
 			;; \
 		*) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; \
 	esac; \
@@ -114,7 +114,7 @@ FROM alpine:3.19
 
 RUN apk add --no-cache ca-certificates
 
-ENV GOLANG_VERSION 1.21.11
+ENV GOLANG_VERSION 1.23rc1
 
 # don't auto-upgrade the gotoolchain
 # https://github.com/docker-library/golang/issues/472
diff --git a/golang_1.21-bookworm/Dockerfile b/golang_1.23-rc-bookworm/Dockerfile
similarity index 75%
copy from golang_1.21-bookworm/Dockerfile
copy to golang_1.23-rc-bookworm/Dockerfile
index 82aeaa9..157bc57 100644
--- a/golang_1.21-bookworm/Dockerfile
+++ b/golang_1.23-rc-bookworm/Dockerfile
@@ -8,7 +8,7 @@ FROM buildpack-deps:bookworm-scm AS build
 
 ENV PATH /usr/local/go/bin:$PATH
 
-ENV GOLANG_VERSION 1.21.11
+ENV GOLANG_VERSION 1.23rc1
 
 RUN set -eux; \
 	now="$(date '+%s')"; \
@@ -16,36 +16,36 @@ RUN set -eux; \
 	url=; \
 	case "$arch" in \
 		'amd64') \
-			url='https://dl.google.com/go/go1.21.11.linux-amd64.tar.gz'; \
-			sha256='54a87a9325155b98c85bc04dc50298ddd682489eb47f486f2e6cb0707554abf0'; \
+			url='https://dl.google.com/go/go1.23rc1.linux-amd64.tar.gz'; \
+			sha256='0d8543abb8f4d566b3c8ef25b38e578ae2cb357bba2db8f0c0481531d8e1c939'; \
 			;; \
 		'armhf') \
-			url='https://dl.google.com/go/go1.21.11.linux-armv6l.tar.gz'; \
-			sha256='a62bff8297816a387a36bbda2889dd0dbcf0f8ce03bc62162ecd6918d6acecb5'; \
+			url='https://dl.google.com/go/go1.23rc1.linux-armv6l.tar.gz'; \
+			sha256='6aaf0968817cadb372aff885cfd2c5b6c3a121f1cb890c0ad54106cbc5317c8a'; \
 			;; \
 		'arm64') \
-			url='https://dl.google.com/go/go1.21.11.linux-arm64.tar.gz'; \
-			sha256='715d9a7ff72e4e0e3378c48318c52c6e4dd32a47c4136f3c08846f89b2ee2241'; \
+			url='https://dl.google.com/go/go1.23rc1.linux-arm64.tar.gz'; \
+			sha256='1208d96e6535ccf32ceee2f876dbbec588bf0921861d2224b809cbfe797f2319'; \
 			;; \
 		'i386') \
-			url='https://dl.google.com/go/go1.21.11.linux-386.tar.gz'; \
-			sha256='8b00cbc2519c2d052177bf2c8472bf06578d3b0182eeb3406a1d7d4e5d4c59ef'; \
+			url='https://dl.google.com/go/go1.23rc1.linux-386.tar.gz'; \
+			sha256='770f682ad2b7b2305915fbf2918acf67ef5a06654cdcac1f859d195b2e7d9861'; \
 			;; \
 		'mips64el') \
-			url='https://dl.google.com/go/go1.21.11.linux-mips64le.tar.gz'; \
-			sha256='d10166bb6ea6538e24f01ac9bcbbbaee5657d07b9edc11a82cbf569355a36534'; \
+			url='https://dl.google.com/go/go1.23rc1.linux-mips64le.tar.gz'; \
+			sha256='adf0f903b8ad46d6aa946677d13ba6ce76d9b597ebda54ace9c15f2e88febc3c'; \
 			;; \
 		'ppc64el') \
-			url='https://dl.google.com/go/go1.21.11.linux-ppc64le.tar.gz'; \
-			sha256='6f5e18187abc4ff1c3173afbe38ef29f84b6d1ee7173f40075a4134863b209a5'; \
+			url='https://dl.google.com/go/go1.23rc1.linux-ppc64le.tar.gz'; \
+			sha256='bbb5f0f6895f25173e436ef2549342db050b6c2d3e094a0db306a4fa27c231bf'; \
 			;; \
 		'riscv64') \
-			url='https://dl.google.com/go/go1.21.11.linux-riscv64.tar.gz'; \
-			sha256='3ee5f9aac2f252838d88bb4cf93560c567814889c74d87ad8a04be16aa5e1b21'; \
+			url='https://dl.google.com/go/go1.23rc1.linux-riscv64.tar.gz'; \
+			sha256='8cb299c73325de4bf59a9788e9851afdead7ab45d8da1eec8bb5f774c4014f8e'; \
 			;; \
 		's390x') \
-			url='https://dl.google.com/go/go1.21.11.linux-s390x.tar.gz'; \
-			sha256='489c363d5da2d3d5709419bda61856582c5ebdc7874ca7ecdebf67d736d329e6'; \
+			url='https://dl.google.com/go/go1.23rc1.linux-s390x.tar.gz'; \
+			sha256='7d35beef23925061b0a219a8338a1525f74647fc22aeecab97b983a9d6114054'; \
 			;; \
 		*) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; \
 	esac; \
@@ -116,7 +116,7 @@ RUN set -eux; \
 	; \
 	rm -rf /var/lib/apt/lists/*
 
-ENV GOLANG_VERSION 1.21.11
+ENV GOLANG_VERSION 1.23rc1
 
 # don't auto-upgrade the gotoolchain
 # https://github.com/docker-library/golang/issues/472
diff --git a/golang_1.21-bullseye/Dockerfile b/golang_1.23-rc-bullseye/Dockerfile
similarity index 75%
copy from golang_1.21-bullseye/Dockerfile
copy to golang_1.23-rc-bullseye/Dockerfile
index 7b8f394..4dae201 100644
--- a/golang_1.21-bullseye/Dockerfile
+++ b/golang_1.23-rc-bullseye/Dockerfile
@@ -8,7 +8,7 @@ FROM buildpack-deps:bullseye-scm AS build
 
 ENV PATH /usr/local/go/bin:$PATH
 
-ENV GOLANG_VERSION 1.21.11
+ENV GOLANG_VERSION 1.23rc1
 
 RUN set -eux; \
 	now="$(date '+%s')"; \
@@ -16,36 +16,36 @@ RUN set -eux; \
 	url=; \
 	case "$arch" in \
 		'amd64') \
-			url='https://dl.google.com/go/go1.21.11.linux-amd64.tar.gz'; \
-			sha256='54a87a9325155b98c85bc04dc50298ddd682489eb47f486f2e6cb0707554abf0'; \
+			url='https://dl.google.com/go/go1.23rc1.linux-amd64.tar.gz'; \
+			sha256='0d8543abb8f4d566b3c8ef25b38e578ae2cb357bba2db8f0c0481531d8e1c939'; \
 			;; \
 		'armhf') \
-			url='https://dl.google.com/go/go1.21.11.linux-armv6l.tar.gz'; \
-			sha256='a62bff8297816a387a36bbda2889dd0dbcf0f8ce03bc62162ecd6918d6acecb5'; \
+			url='https://dl.google.com/go/go1.23rc1.linux-armv6l.tar.gz'; \
+			sha256='6aaf0968817cadb372aff885cfd2c5b6c3a121f1cb890c0ad54106cbc5317c8a'; \
 			;; \
 		'arm64') \
-			url='https://dl.google.com/go/go1.21.11.linux-arm64.tar.gz'; \
-			sha256='715d9a7ff72e4e0e3378c48318c52c6e4dd32a47c4136f3c08846f89b2ee2241'; \
+			url='https://dl.google.com/go/go1.23rc1.linux-arm64.tar.gz'; \
+			sha256='1208d96e6535ccf32ceee2f876dbbec588bf0921861d2224b809cbfe797f2319'; \
 			;; \
 		'i386') \
-			url='https://dl.google.com/go/go1.21.11.linux-386.tar.gz'; \
-			sha256='8b00cbc2519c2d052177bf2c8472bf06578d3b0182eeb3406a1d7d4e5d4c59ef'; \
+			url='https://dl.google.com/go/go1.23rc1.linux-386.tar.gz'; \
+			sha256='770f682ad2b7b2305915fbf2918acf67ef5a06654cdcac1f859d195b2e7d9861'; \
 			;; \
 		'mips64el') \
-			url='https://dl.google.com/go/go1.21.11.linux-mips64le.tar.gz'; \
-			sha256='d10166bb6ea6538e24f01ac9bcbbbaee5657d07b9edc11a82cbf569355a36534'; \
+			url='https://dl.google.com/go/go1.23rc1.linux-mips64le.tar.gz'; \
+			sha256='adf0f903b8ad46d6aa946677d13ba6ce76d9b597ebda54ace9c15f2e88febc3c'; \
 			;; \
 		'ppc64el') \
-			url='https://dl.google.com/go/go1.21.11.linux-ppc64le.tar.gz'; \
-			sha256='6f5e18187abc4ff1c3173afbe38ef29f84b6d1ee7173f40075a4134863b209a5'; \
+			url='https://dl.google.com/go/go1.23rc1.linux-ppc64le.tar.gz'; \
+			sha256='bbb5f0f6895f25173e436ef2549342db050b6c2d3e094a0db306a4fa27c231bf'; \
 			;; \
 		'riscv64') \
-			url='https://dl.google.com/go/go1.21.11.linux-riscv64.tar.gz'; \
-			sha256='3ee5f9aac2f252838d88bb4cf93560c567814889c74d87ad8a04be16aa5e1b21'; \
+			url='https://dl.google.com/go/go1.23rc1.linux-riscv64.tar.gz'; \
+			sha256='8cb299c73325de4bf59a9788e9851afdead7ab45d8da1eec8bb5f774c4014f8e'; \
 			;; \
 		's390x') \
-			url='https://dl.google.com/go/go1.21.11.linux-s390x.tar.gz'; \
-			sha256='489c363d5da2d3d5709419bda61856582c5ebdc7874ca7ecdebf67d736d329e6'; \
+			url='https://dl.google.com/go/go1.23rc1.linux-s390x.tar.gz'; \
+			sha256='7d35beef23925061b0a219a8338a1525f74647fc22aeecab97b983a9d6114054'; \
 			;; \
 		*) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; \
 	esac; \
@@ -116,7 +116,7 @@ RUN set -eux; \
 	; \
 	rm -rf /var/lib/apt/lists/*
 
-ENV GOLANG_VERSION 1.21.11
+ENV GOLANG_VERSION 1.23rc1
 
 # don't auto-upgrade the gotoolchain
 # https://github.com/docker-library/golang/issues/472
diff --git a/golang_1.21-nanoserver-1809/Dockerfile b/golang_1.23-rc-nanoserver-1809/Dockerfile
similarity index 92%
copy from golang_1.21-nanoserver-1809/Dockerfile
copy to golang_1.23-rc-nanoserver-1809/Dockerfile
index 3129a56..5f2f296 100644
--- a/golang_1.21-nanoserver-1809/Dockerfile
+++ b/golang_1.23-rc-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.11
+ENV GOLANG_VERSION 1.23rc1
 
 # Docker's Windows path parsing is absolutely *cursed*; please just trust me on this one -Tianon
-COPY --from=golang:1.21.11-windowsservercore-1809 ["C:\\\\Program Files\\\\Go","C:\\\\Program Files\\\\Go"]
+COPY --from=golang:1.23rc1-windowsservercore-1809 ["C:\\\\Program Files\\\\Go","C:\\\\Program Files\\\\Go"]
 RUN go version
 
 WORKDIR $GOPATH
diff --git a/golang_1.21-nanoserver-ltsc2022/Dockerfile b/golang_1.23-rc-nanoserver-ltsc2022/Dockerfile
similarity index 92%
copy from golang_1.21-nanoserver-ltsc2022/Dockerfile
copy to golang_1.23-rc-nanoserver-ltsc2022/Dockerfile
index 1d58bce..d769b7b 100644
--- a/golang_1.21-nanoserver-ltsc2022/Dockerfile
+++ b/golang_1.23-rc-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.11
+ENV GOLANG_VERSION 1.23rc1
 
 # Docker's Windows path parsing is absolutely *cursed*; please just trust me on this one -Tianon
-COPY --from=golang:1.21.11-windowsservercore-ltsc2022 ["C:\\\\Program Files\\\\Go","C:\\\\Program Files\\\\Go"]
+COPY --from=golang:1.23rc1-windowsservercore-ltsc2022 ["C:\\\\Program Files\\\\Go","C:\\\\Program Files\\\\Go"]
 RUN go version
 
 WORKDIR $GOPATH
diff --git a/golang_1.21-windowsservercore-1809/Dockerfile b/golang_1.23-rc-windowsservercore-1809/Dockerfile
similarity index 95%
copy from golang_1.21-windowsservercore-1809/Dockerfile
copy to golang_1.23-rc-windowsservercore-1809/Dockerfile
index 5974ca0..d689949 100644
--- a/golang_1.21-windowsservercore-1809/Dockerfile
+++ b/golang_1.23-rc-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.11
+ENV GOLANG_VERSION 1.23rc1
 
-RUN $url = 'https://dl.google.com/go/go1.21.11.windows-amd64.zip'; \
+RUN $url = 'https://dl.google.com/go/go1.23rc1.windows-amd64.zip'; \
 	Write-Host ('Downloading {0} ...' -f $url); \
 	[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \
 	Invoke-WebRequest -Uri $url -OutFile 'go.zip'; \
 	\
-	$sha256 = '1aa189753d8aa5c74fcb736d6a7c8f826cf5a545b2db143adf10dc2b2147983b'; \
+	$sha256 = '270d339ab3876fd6f0a73e6338d6fbe0b2521f8b68adc3e04487e9476be6d611'; \
 	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.21-windowsservercore-ltsc2022/Dockerfile b/golang_1.23-rc-windowsservercore-ltsc2022/Dockerfile
similarity index 95%
copy from golang_1.21-windowsservercore-ltsc2022/Dockerfile
copy to golang_1.23-rc-windowsservercore-ltsc2022/Dockerfile
index 076ce2d..c19e942 100644
--- a/golang_1.21-windowsservercore-ltsc2022/Dockerfile
+++ b/golang_1.23-rc-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.11
+ENV GOLANG_VERSION 1.23rc1
 
-RUN $url = 'https://dl.google.com/go/go1.21.11.windows-amd64.zip'; \
+RUN $url = 'https://dl.google.com/go/go1.23rc1.windows-amd64.zip'; \
 	Write-Host ('Downloading {0} ...' -f $url); \
 	[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \
 	Invoke-WebRequest -Uri $url -OutFile 'go.zip'; \
 	\
-	$sha256 = '1aa189753d8aa5c74fcb736d6a7c8f826cf5a545b2db143adf10dc2b2147983b'; \
+	$sha256 = '270d339ab3876fd6f0a73e6338d6fbe0b2521f8b68adc3e04487e9476be6d611'; \
 	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 596b02e into docker-library:master Jun 22, 2024
23 checks passed
@yosifkit yosifkit deleted the golang branch June 22, 2024 00:02
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.

3 participants