-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 #11887
Merged
Merged
Update golang #11887
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Changes: - docker-library/golang@7db3fb7: Update 1.18-rc to 1.18rc1 - docker-library/golang@090c6b2: Merge pull request docker-library/golang#408 from infosiftr/go-install-std - docker-library/golang@d1e80a2: Remove unnecessary "go install std" - docker-library/golang@b45e29c: Add useful URL in apply-template.sh for jq-template.awk
Diff for 80aa2e0:diff --git a/_bashbrew-cat b/_bashbrew-cat
index 12cd197..fd6b8fa 100644
--- a/_bashbrew-cat
+++ b/_bashbrew-cat
@@ -3,23 +3,23 @@ GitRepo: https://github.com/docker-library/golang.git
Tags: 1.16.14-alpine3.14, 1.16-alpine3.14
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 1c76165a5f1fb3237cea9e5d0f534a9bb23c6967
+GitCommit: d1e80a2c42de0bfe3dfbc60acf820b910037e711
Directory: 1.16/alpine3.14
Tags: 1.16.14-alpine3.15, 1.16-alpine3.15, 1.16.14-alpine, 1.16-alpine
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 1c76165a5f1fb3237cea9e5d0f534a9bb23c6967
+GitCommit: d1e80a2c42de0bfe3dfbc60acf820b910037e711
Directory: 1.16/alpine3.15
Tags: 1.16.14-bullseye, 1.16-bullseye
SharedTags: 1.16.14, 1.16
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 1c76165a5f1fb3237cea9e5d0f534a9bb23c6967
+GitCommit: d1e80a2c42de0bfe3dfbc60acf820b910037e711
Directory: 1.16/bullseye
Tags: 1.16.14-buster, 1.16-buster
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 1c76165a5f1fb3237cea9e5d0f534a9bb23c6967
+GitCommit: d1e80a2c42de0bfe3dfbc60acf820b910037e711
Directory: 1.16/buster
Tags: 1.16.14-nanoserver-1809, 1.16-nanoserver-1809
@@ -38,7 +38,7 @@ Constraints: nanoserver-ltsc2022, windowsservercore-ltsc2022
Tags: 1.16.14-stretch, 1.16-stretch
Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: 1c76165a5f1fb3237cea9e5d0f534a9bb23c6967
+GitCommit: d1e80a2c42de0bfe3dfbc60acf820b910037e711
Directory: 1.16/stretch
Tags: 1.16.14-windowsservercore-1809, 1.16-windowsservercore-1809
@@ -57,23 +57,23 @@ Constraints: windowsservercore-ltsc2022
Tags: 1.17.7-alpine3.14, 1.17-alpine3.14, 1-alpine3.14, alpine3.14
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: e773873197db6195f2273ba57802884d83a60d3b
+GitCommit: d1e80a2c42de0bfe3dfbc60acf820b910037e711
Directory: 1.17/alpine3.14
Tags: 1.17.7-alpine3.15, 1.17-alpine3.15, 1-alpine3.15, alpine3.15, 1.17.7-alpine, 1.17-alpine, 1-alpine, alpine
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: e773873197db6195f2273ba57802884d83a60d3b
+GitCommit: d1e80a2c42de0bfe3dfbc60acf820b910037e711
Directory: 1.17/alpine3.15
Tags: 1.17.7-bullseye, 1.17-bullseye, 1-bullseye, bullseye
SharedTags: 1.17.7, 1.17, 1, latest
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: e773873197db6195f2273ba57802884d83a60d3b
+GitCommit: d1e80a2c42de0bfe3dfbc60acf820b910037e711
Directory: 1.17/bullseye
Tags: 1.17.7-buster, 1.17-buster, 1-buster, buster
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: e773873197db6195f2273ba57802884d83a60d3b
+GitCommit: d1e80a2c42de0bfe3dfbc60acf820b910037e711
Directory: 1.17/buster
Tags: 1.17.7-nanoserver-1809, 1.17-nanoserver-1809, 1-nanoserver-1809, nanoserver-1809
@@ -92,7 +92,7 @@ Constraints: nanoserver-ltsc2022, windowsservercore-ltsc2022
Tags: 1.17.7-stretch, 1.17-stretch, 1-stretch, stretch
Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: e773873197db6195f2273ba57802884d83a60d3b
+GitCommit: d1e80a2c42de0bfe3dfbc60acf820b910037e711
Directory: 1.17/stretch
Tags: 1.17.7-windowsservercore-1809, 1.17-windowsservercore-1809, 1-windowsservercore-1809, windowsservercore-1809
@@ -109,56 +109,56 @@ GitCommit: e773873197db6195f2273ba57802884d83a60d3b
Directory: 1.17/windows/windowsservercore-ltsc2022
Constraints: windowsservercore-ltsc2022
-Tags: 1.18beta2-alpine3.14, 1.18-rc-alpine3.14, rc-alpine3.14
+Tags: 1.18rc1-alpine3.14, 1.18-rc-alpine3.14, rc-alpine3.14
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 20770e021d1931892a68710e290af8792d9754f9
+GitCommit: 7db3fb743f7d5d24d75493eacfc0595ce97979da
Directory: 1.18-rc/alpine3.14
-Tags: 1.18beta2-alpine3.15, 1.18-rc-alpine3.15, rc-alpine3.15, 1.18beta2-alpine, 1.18-rc-alpine, rc-alpine
+Tags: 1.18rc1-alpine3.15, 1.18-rc-alpine3.15, rc-alpine3.15, 1.18rc1-alpine, 1.18-rc-alpine, rc-alpine
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 20770e021d1931892a68710e290af8792d9754f9
+GitCommit: 7db3fb743f7d5d24d75493eacfc0595ce97979da
Directory: 1.18-rc/alpine3.15
-Tags: 1.18beta2-bullseye, 1.18-rc-bullseye, rc-bullseye
-SharedTags: 1.18beta2, 1.18-rc, rc
+Tags: 1.18rc1-bullseye, 1.18-rc-bullseye, rc-bullseye
+SharedTags: 1.18rc1, 1.18-rc, rc
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 20770e021d1931892a68710e290af8792d9754f9
+GitCommit: 7db3fb743f7d5d24d75493eacfc0595ce97979da
Directory: 1.18-rc/bullseye
-Tags: 1.18beta2-buster, 1.18-rc-buster, rc-buster
+Tags: 1.18rc1-buster, 1.18-rc-buster, rc-buster
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 20770e021d1931892a68710e290af8792d9754f9
+GitCommit: 7db3fb743f7d5d24d75493eacfc0595ce97979da
Directory: 1.18-rc/buster
-Tags: 1.18beta2-nanoserver-1809, 1.18-rc-nanoserver-1809, rc-nanoserver-1809
-SharedTags: 1.18beta2-nanoserver, 1.18-rc-nanoserver, rc-nanoserver
+Tags: 1.18rc1-nanoserver-1809, 1.18-rc-nanoserver-1809, rc-nanoserver-1809
+SharedTags: 1.18rc1-nanoserver, 1.18-rc-nanoserver, rc-nanoserver
Architectures: windows-amd64
-GitCommit: 20770e021d1931892a68710e290af8792d9754f9
+GitCommit: 7db3fb743f7d5d24d75493eacfc0595ce97979da
Directory: 1.18-rc/windows/nanoserver-1809
Constraints: nanoserver-1809, windowsservercore-1809
-Tags: 1.18beta2-nanoserver-ltsc2022, 1.18-rc-nanoserver-ltsc2022, rc-nanoserver-ltsc2022
-SharedTags: 1.18beta2-nanoserver, 1.18-rc-nanoserver, rc-nanoserver
+Tags: 1.18rc1-nanoserver-ltsc2022, 1.18-rc-nanoserver-ltsc2022, rc-nanoserver-ltsc2022
+SharedTags: 1.18rc1-nanoserver, 1.18-rc-nanoserver, rc-nanoserver
Architectures: windows-amd64
-GitCommit: 20770e021d1931892a68710e290af8792d9754f9
+GitCommit: 7db3fb743f7d5d24d75493eacfc0595ce97979da
Directory: 1.18-rc/windows/nanoserver-ltsc2022
Constraints: nanoserver-ltsc2022, windowsservercore-ltsc2022
-Tags: 1.18beta2-stretch, 1.18-rc-stretch, rc-stretch
+Tags: 1.18rc1-stretch, 1.18-rc-stretch, rc-stretch
Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: 20770e021d1931892a68710e290af8792d9754f9
+GitCommit: 7db3fb743f7d5d24d75493eacfc0595ce97979da
Directory: 1.18-rc/stretch
-Tags: 1.18beta2-windowsservercore-1809, 1.18-rc-windowsservercore-1809, rc-windowsservercore-1809
-SharedTags: 1.18beta2-windowsservercore, 1.18-rc-windowsservercore, rc-windowsservercore, 1.18beta2, 1.18-rc, rc
+Tags: 1.18rc1-windowsservercore-1809, 1.18-rc-windowsservercore-1809, rc-windowsservercore-1809
+SharedTags: 1.18rc1-windowsservercore, 1.18-rc-windowsservercore, rc-windowsservercore, 1.18rc1, 1.18-rc, rc
Architectures: windows-amd64
-GitCommit: 20770e021d1931892a68710e290af8792d9754f9
+GitCommit: 7db3fb743f7d5d24d75493eacfc0595ce97979da
Directory: 1.18-rc/windows/windowsservercore-1809
Constraints: windowsservercore-1809
-Tags: 1.18beta2-windowsservercore-ltsc2022, 1.18-rc-windowsservercore-ltsc2022, rc-windowsservercore-ltsc2022
-SharedTags: 1.18beta2-windowsservercore, 1.18-rc-windowsservercore, rc-windowsservercore, 1.18beta2, 1.18-rc, rc
+Tags: 1.18rc1-windowsservercore-ltsc2022, 1.18-rc-windowsservercore-ltsc2022, rc-windowsservercore-ltsc2022
+SharedTags: 1.18rc1-windowsservercore, 1.18-rc-windowsservercore, rc-windowsservercore, 1.18rc1, 1.18-rc, rc
Architectures: windows-amd64
-GitCommit: 20770e021d1931892a68710e290af8792d9754f9
+GitCommit: 7db3fb743f7d5d24d75493eacfc0595ce97979da
Directory: 1.18-rc/windows/windowsservercore-ltsc2022
Constraints: windowsservercore-ltsc2022
diff --git a/_bashbrew-list b/_bashbrew-list
index dbeb7ad..4fb02b7 100644
--- a/_bashbrew-list
+++ b/_bashbrew-list
@@ -63,19 +63,19 @@ golang:1.17.7-stretch
golang:1.17.7-windowsservercore
golang:1.17.7-windowsservercore-1809
golang:1.17.7-windowsservercore-ltsc2022
-golang:1.18beta2
-golang:1.18beta2-alpine
-golang:1.18beta2-alpine3.14
-golang:1.18beta2-alpine3.15
-golang:1.18beta2-bullseye
-golang:1.18beta2-buster
-golang:1.18beta2-nanoserver
-golang:1.18beta2-nanoserver-1809
-golang:1.18beta2-nanoserver-ltsc2022
-golang:1.18beta2-stretch
-golang:1.18beta2-windowsservercore
-golang:1.18beta2-windowsservercore-1809
-golang:1.18beta2-windowsservercore-ltsc2022
+golang:1.18rc1
+golang:1.18rc1-alpine
+golang:1.18rc1-alpine3.14
+golang:1.18rc1-alpine3.15
+golang:1.18rc1-bullseye
+golang:1.18rc1-buster
+golang:1.18rc1-nanoserver
+golang:1.18rc1-nanoserver-1809
+golang:1.18rc1-nanoserver-ltsc2022
+golang:1.18rc1-stretch
+golang:1.18rc1-windowsservercore
+golang:1.18rc1-windowsservercore-1809
+golang:1.18rc1-windowsservercore-ltsc2022
golang:1.18-rc
golang:1.18-rc-alpine
golang:1.18-rc-alpine3.14
diff --git a/golang_1.16-alpine/Dockerfile b/golang_1.16-alpine/Dockerfile
index 16e4d02..0e8af83 100644
--- a/golang_1.16-alpine/Dockerfile
+++ b/golang_1.16-alpine/Dockerfile
@@ -88,11 +88,6 @@ RUN set -eux; \
\
apk del --no-network .build-deps; \
\
-# pre-compile the standard library, just like the official binary release tarballs do
- go install std; \
-# go install: -race is only supported on linux/amd64, linux/ppc64le, linux/arm64, freebsd/amd64, netbsd/amd64, darwin/amd64 and windows/amd64
-# go install -race std; \
- \
# remove a few intermediate / bootstrapping files the official binary release tarballs do not contain
rm -rf \
/usr/local/go/pkg/*/cmd \
diff --git a/golang_1.16-alpine3.14/Dockerfile b/golang_1.16-alpine3.14/Dockerfile
index f2485ba..71bac35 100644
--- a/golang_1.16-alpine3.14/Dockerfile
+++ b/golang_1.16-alpine3.14/Dockerfile
@@ -88,11 +88,6 @@ RUN set -eux; \
\
apk del --no-network .build-deps; \
\
-# pre-compile the standard library, just like the official binary release tarballs do
- go install std; \
-# go install: -race is only supported on linux/amd64, linux/ppc64le, linux/arm64, freebsd/amd64, netbsd/amd64, darwin/amd64 and windows/amd64
-# go install -race std; \
- \
# remove a few intermediate / bootstrapping files the official binary release tarballs do not contain
rm -rf \
/usr/local/go/pkg/*/cmd \
diff --git a/golang_1.16-bullseye/Dockerfile b/golang_1.16-bullseye/Dockerfile
index 6049066..37582a3 100644
--- a/golang_1.16-bullseye/Dockerfile
+++ b/golang_1.16-bullseye/Dockerfile
@@ -103,11 +103,6 @@ RUN set -eux; \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
rm -rf /var/lib/apt/lists/*; \
\
-# pre-compile the standard library, just like the official binary release tarballs do
- go install std; \
-# go install: -race is only supported on linux/amd64, linux/ppc64le, linux/arm64, freebsd/amd64, netbsd/amd64, darwin/amd64 and windows/amd64
-# go install -race std; \
- \
# remove a few intermediate / bootstrapping files the official binary release tarballs do not contain
rm -rf \
/usr/local/go/pkg/*/cmd \
diff --git a/golang_1.16-buster/Dockerfile b/golang_1.16-buster/Dockerfile
index 872dacc..a6c5a78 100644
--- a/golang_1.16-buster/Dockerfile
+++ b/golang_1.16-buster/Dockerfile
@@ -103,11 +103,6 @@ RUN set -eux; \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
rm -rf /var/lib/apt/lists/*; \
\
-# pre-compile the standard library, just like the official binary release tarballs do
- go install std; \
-# go install: -race is only supported on linux/amd64, linux/ppc64le, linux/arm64, freebsd/amd64, netbsd/amd64, darwin/amd64 and windows/amd64
-# go install -race std; \
- \
# remove a few intermediate / bootstrapping files the official binary release tarballs do not contain
rm -rf \
/usr/local/go/pkg/*/cmd \
diff --git a/golang_1.16-stretch/Dockerfile b/golang_1.16-stretch/Dockerfile
index 0a45c98..8ec39a7 100644
--- a/golang_1.16-stretch/Dockerfile
+++ b/golang_1.16-stretch/Dockerfile
@@ -103,11 +103,6 @@ RUN set -eux; \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
rm -rf /var/lib/apt/lists/*; \
\
-# pre-compile the standard library, just like the official binary release tarballs do
- go install std; \
-# go install: -race is only supported on linux/amd64, linux/ppc64le, linux/arm64, freebsd/amd64, netbsd/amd64, darwin/amd64 and windows/amd64
-# go install -race std; \
- \
# remove a few intermediate / bootstrapping files the official binary release tarballs do not contain
rm -rf \
/usr/local/go/pkg/*/cmd \
diff --git a/golang_alpine/Dockerfile b/golang_alpine/Dockerfile
index 6804249..4be77db 100644
--- a/golang_alpine/Dockerfile
+++ b/golang_alpine/Dockerfile
@@ -88,11 +88,6 @@ RUN set -eux; \
\
apk del --no-network .build-deps; \
\
-# pre-compile the standard library, just like the official binary release tarballs do
- go install std; \
-# go install: -race is only supported on linux/amd64, linux/ppc64le, linux/arm64, freebsd/amd64, netbsd/amd64, darwin/amd64 and windows/amd64
-# go install -race std; \
- \
# remove a few intermediate / bootstrapping files the official binary release tarballs do not contain
rm -rf \
/usr/local/go/pkg/*/cmd \
diff --git a/golang_alpine3.14/Dockerfile b/golang_alpine3.14/Dockerfile
index 1528745..b0aa694 100644
--- a/golang_alpine3.14/Dockerfile
+++ b/golang_alpine3.14/Dockerfile
@@ -88,11 +88,6 @@ RUN set -eux; \
\
apk del --no-network .build-deps; \
\
-# pre-compile the standard library, just like the official binary release tarballs do
- go install std; \
-# go install: -race is only supported on linux/amd64, linux/ppc64le, linux/arm64, freebsd/amd64, netbsd/amd64, darwin/amd64 and windows/amd64
-# go install -race std; \
- \
# remove a few intermediate / bootstrapping files the official binary release tarballs do not contain
rm -rf \
/usr/local/go/pkg/*/cmd \
diff --git a/golang_bullseye/Dockerfile b/golang_bullseye/Dockerfile
index f4040e7..4bb3fc2 100644
--- a/golang_bullseye/Dockerfile
+++ b/golang_bullseye/Dockerfile
@@ -103,11 +103,6 @@ RUN set -eux; \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
rm -rf /var/lib/apt/lists/*; \
\
-# pre-compile the standard library, just like the official binary release tarballs do
- go install std; \
-# go install: -race is only supported on linux/amd64, linux/ppc64le, linux/arm64, freebsd/amd64, netbsd/amd64, darwin/amd64 and windows/amd64
-# go install -race std; \
- \
# remove a few intermediate / bootstrapping files the official binary release tarballs do not contain
rm -rf \
/usr/local/go/pkg/*/cmd \
diff --git a/golang_buster/Dockerfile b/golang_buster/Dockerfile
index cd9ae47..9b4b58b 100644
--- a/golang_buster/Dockerfile
+++ b/golang_buster/Dockerfile
@@ -103,11 +103,6 @@ RUN set -eux; \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
rm -rf /var/lib/apt/lists/*; \
\
-# pre-compile the standard library, just like the official binary release tarballs do
- go install std; \
-# go install: -race is only supported on linux/amd64, linux/ppc64le, linux/arm64, freebsd/amd64, netbsd/amd64, darwin/amd64 and windows/amd64
-# go install -race std; \
- \
# remove a few intermediate / bootstrapping files the official binary release tarballs do not contain
rm -rf \
/usr/local/go/pkg/*/cmd \
diff --git a/golang_rc-alpine/Dockerfile b/golang_rc-alpine/Dockerfile
index e2c01bd..5e7b193 100644
--- a/golang_rc-alpine/Dockerfile
+++ b/golang_rc-alpine/Dockerfile
@@ -15,7 +15,7 @@ RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf
ENV PATH /usr/local/go/bin:$PATH
-ENV GOLANG_VERSION 1.18beta2
+ENV GOLANG_VERSION 1.18rc1
RUN set -eux; \
apk add --no-cache --virtual .fetch-deps gnupg; \
@@ -49,8 +49,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.18beta2.src.tar.gz'; \
- sha256='3cb14e2c82da366f7393c988f1f3fc2c16b71a5492bd3d49d35886cdf27a9d13'; \
+ url='https://dl.google.com/go/go1.18rc1.src.tar.gz'; \
+ sha256='5cec7a6653008fa85f8821b33665de37be289b7a02f17f36f705a88c43980bb8'; \
# the precompiled binaries published by Go upstream are not compatible with Alpine, so we always build from source here 😅
fi; \
\
@@ -88,11 +88,6 @@ RUN set -eux; \
\
apk del --no-network .build-deps; \
\
-# pre-compile the standard library, just like the official binary release tarballs do
- go install std; \
-# go install: -race is only supported on linux/amd64, linux/ppc64le, linux/arm64, freebsd/amd64, netbsd/amd64, darwin/amd64 and windows/amd64
-# go install -race std; \
- \
# remove a few intermediate / bootstrapping files the official binary release tarballs do not contain
rm -rf \
/usr/local/go/pkg/*/cmd \
diff --git a/golang_rc-alpine3.14/Dockerfile b/golang_rc-alpine3.14/Dockerfile
index 1be791b..327a0d5 100644
--- a/golang_rc-alpine3.14/Dockerfile
+++ b/golang_rc-alpine3.14/Dockerfile
@@ -15,7 +15,7 @@ RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf
ENV PATH /usr/local/go/bin:$PATH
-ENV GOLANG_VERSION 1.18beta2
+ENV GOLANG_VERSION 1.18rc1
RUN set -eux; \
apk add --no-cache --virtual .fetch-deps gnupg; \
@@ -49,8 +49,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.18beta2.src.tar.gz'; \
- sha256='3cb14e2c82da366f7393c988f1f3fc2c16b71a5492bd3d49d35886cdf27a9d13'; \
+ url='https://dl.google.com/go/go1.18rc1.src.tar.gz'; \
+ sha256='5cec7a6653008fa85f8821b33665de37be289b7a02f17f36f705a88c43980bb8'; \
# the precompiled binaries published by Go upstream are not compatible with Alpine, so we always build from source here 😅
fi; \
\
@@ -88,11 +88,6 @@ RUN set -eux; \
\
apk del --no-network .build-deps; \
\
-# pre-compile the standard library, just like the official binary release tarballs do
- go install std; \
-# go install: -race is only supported on linux/amd64, linux/ppc64le, linux/arm64, freebsd/amd64, netbsd/amd64, darwin/amd64 and windows/amd64
-# go install -race std; \
- \
# remove a few intermediate / bootstrapping files the official binary release tarballs do not contain
rm -rf \
/usr/local/go/pkg/*/cmd \
diff --git a/golang_rc-bullseye/Dockerfile b/golang_rc-bullseye/Dockerfile
index 85449df..269a2fd 100644
--- a/golang_rc-bullseye/Dockerfile
+++ b/golang_rc-bullseye/Dockerfile
@@ -20,41 +20,41 @@ RUN set -eux; \
ENV PATH /usr/local/go/bin:$PATH
-ENV GOLANG_VERSION 1.18beta2
+ENV GOLANG_VERSION 1.18rc1
RUN set -eux; \
arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \
url=; \
case "$arch" in \
'amd64') \
- url='https://dl.google.com/go/go1.18beta2.linux-amd64.tar.gz'; \
- sha256='b5dacafa59737cfb0d657902b70c2ad1b6bb4ed15e85ea2806f72ce3d4824688'; \
+ url='https://dl.google.com/go/go1.18rc1.linux-amd64.tar.gz'; \
+ sha256='9ea4e6adee711e06fa95546e1a9629b63de3aaae85fac9dc752fb533f3e5be23'; \
;; \
'armel') \
export GOARCH='arm' GOARM='5' GOOS='linux'; \
;; \
'armhf') \
- url='https://dl.google.com/go/go1.18beta2.linux-armv6l.tar.gz'; \
- sha256='bc958a63b51c44762ec026ab587b0261e94cf6337613bfbbcfbd0414fb95f7b6'; \
+ url='https://dl.google.com/go/go1.18rc1.linux-armv6l.tar.gz'; \
+ sha256='d7a3f97b23b1e1f2e1a3596ff011e78f93aa8bbd991e2065ac34c18993884ea1'; \
;; \
'arm64') \
- url='https://dl.google.com/go/go1.18beta2.linux-arm64.tar.gz'; \
- sha256='21e4248594401568c2e8704b9d26c6185a61f46b4f17e1a628bf1b5d9a010503'; \
+ url='https://dl.google.com/go/go1.18rc1.linux-arm64.tar.gz'; \
+ sha256='e4528a113016872a3715cec37a6c6dad36d76d51a50fa19b33b7673e47e6df44'; \
;; \
'i386') \
- url='https://dl.google.com/go/go1.18beta2.linux-386.tar.gz'; \
- sha256='74ac524d7d17df606cc74059bf30efce35bb6930f950110dd79cc58ba057f186'; \
+ url='https://dl.google.com/go/go1.18rc1.linux-386.tar.gz'; \
+ sha256='a4bb0097276fa3523f1ce84dc4ee50fab0b3b0f7fbe72833710434889516c51e'; \
;; \
'mips64el') \
export GOARCH='mips64le' GOOS='linux'; \
;; \
'ppc64el') \
- url='https://dl.google.com/go/go1.18beta2.linux-ppc64le.tar.gz'; \
- sha256='573916974201745360883102c80482e1d6730683d1a4a6bb4b469978d4f99d30'; \
+ url='https://dl.google.com/go/go1.18rc1.linux-ppc64le.tar.gz'; \
+ sha256='a2944dfc3ee22efe1b940f122ee36cb4bb446e209116e5e8f244e78682ece981'; \
;; \
's390x') \
- url='https://dl.google.com/go/go1.18beta2.linux-s390x.tar.gz'; \
- sha256='860ee3e5cd68fd36d3d49654adc37b9450584d07f0745f7f461080d9cc7749e1'; \
+ url='https://dl.google.com/go/go1.18rc1.linux-s390x.tar.gz'; \
+ sha256='e5578b8cbcc90659496f3930c61c6974c039d32d0573a6726c5d8e62f7e42d68'; \
;; \
*) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; \
esac; \
@@ -62,8 +62,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.18beta2.src.tar.gz'; \
- sha256='3cb14e2c82da366f7393c988f1f3fc2c16b71a5492bd3d49d35886cdf27a9d13'; \
+ url='https://dl.google.com/go/go1.18rc1.src.tar.gz'; \
+ sha256='5cec7a6653008fa85f8821b33665de37be289b7a02f17f36f705a88c43980bb8'; \
echo >&2; \
echo >&2 "warning: current architecture ($arch) does not have a compatible Go binary release; will be building from source"; \
echo >&2; \
@@ -103,11 +103,6 @@ RUN set -eux; \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
rm -rf /var/lib/apt/lists/*; \
\
-# pre-compile the standard library, just like the official binary release tarballs do
- go install std; \
-# go install: -race is only supported on linux/amd64, linux/ppc64le, linux/arm64, freebsd/amd64, netbsd/amd64, darwin/amd64 and windows/amd64
-# go install -race std; \
- \
# remove a few intermediate / bootstrapping files the official binary release tarballs do not contain
rm -rf \
/usr/local/go/pkg/*/cmd \
diff --git a/golang_rc-buster/Dockerfile b/golang_rc-buster/Dockerfile
index 7042ca0..da2c39b 100644
--- a/golang_rc-buster/Dockerfile
+++ b/golang_rc-buster/Dockerfile
@@ -20,41 +20,41 @@ RUN set -eux; \
ENV PATH /usr/local/go/bin:$PATH
-ENV GOLANG_VERSION 1.18beta2
+ENV GOLANG_VERSION 1.18rc1
RUN set -eux; \
arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \
url=; \
case "$arch" in \
'amd64') \
- url='https://dl.google.com/go/go1.18beta2.linux-amd64.tar.gz'; \
- sha256='b5dacafa59737cfb0d657902b70c2ad1b6bb4ed15e85ea2806f72ce3d4824688'; \
+ url='https://dl.google.com/go/go1.18rc1.linux-amd64.tar.gz'; \
+ sha256='9ea4e6adee711e06fa95546e1a9629b63de3aaae85fac9dc752fb533f3e5be23'; \
;; \
'armel') \
export GOARCH='arm' GOARM='5' GOOS='linux'; \
;; \
'armhf') \
- url='https://dl.google.com/go/go1.18beta2.linux-armv6l.tar.gz'; \
- sha256='bc958a63b51c44762ec026ab587b0261e94cf6337613bfbbcfbd0414fb95f7b6'; \
+ url='https://dl.google.com/go/go1.18rc1.linux-armv6l.tar.gz'; \
+ sha256='d7a3f97b23b1e1f2e1a3596ff011e78f93aa8bbd991e2065ac34c18993884ea1'; \
;; \
'arm64') \
- url='https://dl.google.com/go/go1.18beta2.linux-arm64.tar.gz'; \
- sha256='21e4248594401568c2e8704b9d26c6185a61f46b4f17e1a628bf1b5d9a010503'; \
+ url='https://dl.google.com/go/go1.18rc1.linux-arm64.tar.gz'; \
+ sha256='e4528a113016872a3715cec37a6c6dad36d76d51a50fa19b33b7673e47e6df44'; \
;; \
'i386') \
- url='https://dl.google.com/go/go1.18beta2.linux-386.tar.gz'; \
- sha256='74ac524d7d17df606cc74059bf30efce35bb6930f950110dd79cc58ba057f186'; \
+ url='https://dl.google.com/go/go1.18rc1.linux-386.tar.gz'; \
+ sha256='a4bb0097276fa3523f1ce84dc4ee50fab0b3b0f7fbe72833710434889516c51e'; \
;; \
'mips64el') \
export GOARCH='mips64le' GOOS='linux'; \
;; \
'ppc64el') \
- url='https://dl.google.com/go/go1.18beta2.linux-ppc64le.tar.gz'; \
- sha256='573916974201745360883102c80482e1d6730683d1a4a6bb4b469978d4f99d30'; \
+ url='https://dl.google.com/go/go1.18rc1.linux-ppc64le.tar.gz'; \
+ sha256='a2944dfc3ee22efe1b940f122ee36cb4bb446e209116e5e8f244e78682ece981'; \
;; \
's390x') \
- url='https://dl.google.com/go/go1.18beta2.linux-s390x.tar.gz'; \
- sha256='860ee3e5cd68fd36d3d49654adc37b9450584d07f0745f7f461080d9cc7749e1'; \
+ url='https://dl.google.com/go/go1.18rc1.linux-s390x.tar.gz'; \
+ sha256='e5578b8cbcc90659496f3930c61c6974c039d32d0573a6726c5d8e62f7e42d68'; \
;; \
*) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; \
esac; \
@@ -62,8 +62,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.18beta2.src.tar.gz'; \
- sha256='3cb14e2c82da366f7393c988f1f3fc2c16b71a5492bd3d49d35886cdf27a9d13'; \
+ url='https://dl.google.com/go/go1.18rc1.src.tar.gz'; \
+ sha256='5cec7a6653008fa85f8821b33665de37be289b7a02f17f36f705a88c43980bb8'; \
echo >&2; \
echo >&2 "warning: current architecture ($arch) does not have a compatible Go binary release; will be building from source"; \
echo >&2; \
@@ -103,11 +103,6 @@ RUN set -eux; \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
rm -rf /var/lib/apt/lists/*; \
\
-# pre-compile the standard library, just like the official binary release tarballs do
- go install std; \
-# go install: -race is only supported on linux/amd64, linux/ppc64le, linux/arm64, freebsd/amd64, netbsd/amd64, darwin/amd64 and windows/amd64
-# go install -race std; \
- \
# remove a few intermediate / bootstrapping files the official binary release tarballs do not contain
rm -rf \
/usr/local/go/pkg/*/cmd \
diff --git a/golang_rc-nanoserver-1809/Dockerfile b/golang_rc-nanoserver-1809/Dockerfile
index 5cec773..a20339b 100644
--- a/golang_rc-nanoserver-1809/Dockerfile
+++ b/golang_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.18beta2
+ENV GOLANG_VERSION 1.18rc1
# Docker's Windows path parsing is absolutely *cursed*; please just trust me on this one -Tianon
-COPY --from=golang:1.18beta2-windowsservercore-1809 ["C:\\\\Program Files\\\\Go","C:\\\\Program Files\\\\Go"]
+COPY --from=golang:1.18rc1-windowsservercore-1809 ["C:\\\\Program Files\\\\Go","C:\\\\Program Files\\\\Go"]
RUN go version
WORKDIR $GOPATH
diff --git a/golang_rc-nanoserver-ltsc2022/Dockerfile b/golang_rc-nanoserver-ltsc2022/Dockerfile
index 7541839..1189493 100644
--- a/golang_rc-nanoserver-ltsc2022/Dockerfile
+++ b/golang_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.18beta2
+ENV GOLANG_VERSION 1.18rc1
# Docker's Windows path parsing is absolutely *cursed*; please just trust me on this one -Tianon
-COPY --from=golang:1.18beta2-windowsservercore-ltsc2022 ["C:\\\\Program Files\\\\Go","C:\\\\Program Files\\\\Go"]
+COPY --from=golang:1.18rc1-windowsservercore-ltsc2022 ["C:\\\\Program Files\\\\Go","C:\\\\Program Files\\\\Go"]
RUN go version
WORKDIR $GOPATH
diff --git a/golang_rc-stretch/Dockerfile b/golang_rc-stretch/Dockerfile
index a5f3eee..b9f2996 100644
--- a/golang_rc-stretch/Dockerfile
+++ b/golang_rc-stretch/Dockerfile
@@ -20,41 +20,41 @@ RUN set -eux; \
ENV PATH /usr/local/go/bin:$PATH
-ENV GOLANG_VERSION 1.18beta2
+ENV GOLANG_VERSION 1.18rc1
RUN set -eux; \
arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \
url=; \
case "$arch" in \
'amd64') \
- url='https://dl.google.com/go/go1.18beta2.linux-amd64.tar.gz'; \
- sha256='b5dacafa59737cfb0d657902b70c2ad1b6bb4ed15e85ea2806f72ce3d4824688'; \
+ url='https://dl.google.com/go/go1.18rc1.linux-amd64.tar.gz'; \
+ sha256='9ea4e6adee711e06fa95546e1a9629b63de3aaae85fac9dc752fb533f3e5be23'; \
;; \
'armel') \
export GOARCH='arm' GOARM='5' GOOS='linux'; \
;; \
'armhf') \
- url='https://dl.google.com/go/go1.18beta2.linux-armv6l.tar.gz'; \
- sha256='bc958a63b51c44762ec026ab587b0261e94cf6337613bfbbcfbd0414fb95f7b6'; \
+ url='https://dl.google.com/go/go1.18rc1.linux-armv6l.tar.gz'; \
+ sha256='d7a3f97b23b1e1f2e1a3596ff011e78f93aa8bbd991e2065ac34c18993884ea1'; \
;; \
'arm64') \
- url='https://dl.google.com/go/go1.18beta2.linux-arm64.tar.gz'; \
- sha256='21e4248594401568c2e8704b9d26c6185a61f46b4f17e1a628bf1b5d9a010503'; \
+ url='https://dl.google.com/go/go1.18rc1.linux-arm64.tar.gz'; \
+ sha256='e4528a113016872a3715cec37a6c6dad36d76d51a50fa19b33b7673e47e6df44'; \
;; \
'i386') \
- url='https://dl.google.com/go/go1.18beta2.linux-386.tar.gz'; \
- sha256='74ac524d7d17df606cc74059bf30efce35bb6930f950110dd79cc58ba057f186'; \
+ url='https://dl.google.com/go/go1.18rc1.linux-386.tar.gz'; \
+ sha256='a4bb0097276fa3523f1ce84dc4ee50fab0b3b0f7fbe72833710434889516c51e'; \
;; \
'mips64el') \
export GOARCH='mips64le' GOOS='linux'; \
;; \
'ppc64el') \
- url='https://dl.google.com/go/go1.18beta2.linux-ppc64le.tar.gz'; \
- sha256='573916974201745360883102c80482e1d6730683d1a4a6bb4b469978d4f99d30'; \
+ url='https://dl.google.com/go/go1.18rc1.linux-ppc64le.tar.gz'; \
+ sha256='a2944dfc3ee22efe1b940f122ee36cb4bb446e209116e5e8f244e78682ece981'; \
;; \
's390x') \
- url='https://dl.google.com/go/go1.18beta2.linux-s390x.tar.gz'; \
- sha256='860ee3e5cd68fd36d3d49654adc37b9450584d07f0745f7f461080d9cc7749e1'; \
+ url='https://dl.google.com/go/go1.18rc1.linux-s390x.tar.gz'; \
+ sha256='e5578b8cbcc90659496f3930c61c6974c039d32d0573a6726c5d8e62f7e42d68'; \
;; \
*) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; \
esac; \
@@ -62,8 +62,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.18beta2.src.tar.gz'; \
- sha256='3cb14e2c82da366f7393c988f1f3fc2c16b71a5492bd3d49d35886cdf27a9d13'; \
+ url='https://dl.google.com/go/go1.18rc1.src.tar.gz'; \
+ sha256='5cec7a6653008fa85f8821b33665de37be289b7a02f17f36f705a88c43980bb8'; \
echo >&2; \
echo >&2 "warning: current architecture ($arch) does not have a compatible Go binary release; will be building from source"; \
echo >&2; \
@@ -103,11 +103,6 @@ RUN set -eux; \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
rm -rf /var/lib/apt/lists/*; \
\
-# pre-compile the standard library, just like the official binary release tarballs do
- go install std; \
-# go install: -race is only supported on linux/amd64, linux/ppc64le, linux/arm64, freebsd/amd64, netbsd/amd64, darwin/amd64 and windows/amd64
-# go install -race std; \
- \
# remove a few intermediate / bootstrapping files the official binary release tarballs do not contain
rm -rf \
/usr/local/go/pkg/*/cmd \
diff --git a/golang_rc-windowsservercore-1809/Dockerfile b/golang_rc-windowsservercore-1809/Dockerfile
index 2a73daf..bbb25cc 100644
--- a/golang_rc-windowsservercore-1809/Dockerfile
+++ b/golang_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.18beta2
+ENV GOLANG_VERSION 1.18rc1
-RUN $url = 'https://dl.google.com/go/go1.18beta2.windows-amd64.zip'; \
+RUN $url = 'https://dl.google.com/go/go1.18rc1.windows-amd64.zip'; \
Write-Host ('Downloading {0} ...' -f $url); \
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \
Invoke-WebRequest -Uri $url -OutFile 'go.zip'; \
\
- $sha256 = 'e2a3e0ee984205be36d59f333a7e327ab14517b7c3a11d9b8651e02895ced69a'; \
+ $sha256 = '9fd911fcb429b189b8dc1039d48e3c36eaa7ea4b18fa6ca941d3043ab49df0e9'; \
Write-Host ('Verifying sha256 ({0}) ...' -f $sha256); \
if ((Get-FileHash go.zip -Algorithm sha256).Hash -ne $sha256) { \
Write-Host 'FAILED!'; \
diff --git a/golang_rc-windowsservercore-ltsc2022/Dockerfile b/golang_rc-windowsservercore-ltsc2022/Dockerfile
index 1aca661..c1e6f4d 100644
--- a/golang_rc-windowsservercore-ltsc2022/Dockerfile
+++ b/golang_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.18beta2
+ENV GOLANG_VERSION 1.18rc1
-RUN $url = 'https://dl.google.com/go/go1.18beta2.windows-amd64.zip'; \
+RUN $url = 'https://dl.google.com/go/go1.18rc1.windows-amd64.zip'; \
Write-Host ('Downloading {0} ...' -f $url); \
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \
Invoke-WebRequest -Uri $url -OutFile 'go.zip'; \
\
- $sha256 = 'e2a3e0ee984205be36d59f333a7e327ab14517b7c3a11d9b8651e02895ced69a'; \
+ $sha256 = '9fd911fcb429b189b8dc1039d48e3c36eaa7ea4b18fa6ca941d3043ab49df0e9'; \
Write-Host ('Verifying sha256 ({0}) ...' -f $sha256); \
if ((Get-FileHash go.zip -Algorithm sha256).Hash -ne $sha256) { \
Write-Host 'FAILED!'; \
diff --git a/golang_stretch/Dockerfile b/golang_stretch/Dockerfile
index 42986e0..e43f4c0 100644
--- a/golang_stretch/Dockerfile
+++ b/golang_stretch/Dockerfile
@@ -103,11 +103,6 @@ RUN set -eux; \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
rm -rf /var/lib/apt/lists/*; \
\
-# pre-compile the standard library, just like the official binary release tarballs do
- go install std; \
-# go install: -race is only supported on linux/amd64, linux/ppc64le, linux/arm64, freebsd/amd64, netbsd/amd64, darwin/amd64 and windows/amd64
-# go install -race std; \
- \
# remove a few intermediate / bootstrapping files the official binary release tarballs do not contain
rm -rf \
/usr/local/go/pkg/*/cmd \ Relevant Maintainers: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes: