-
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 #9904
Merged
Merged
Update golang #9904
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@f12c995: Update 1.16 to 1.16.3 - docker-library/golang@a0efffd: Update 1.15 to 1.15.11
Diff for 3e251c6:diff --git a/_bashbrew-cat b/_bashbrew-cat
index 7022c89..db94c2f 100644
--- a/_bashbrew-cat
b/_bashbrew-cat
@@ -1,86 1,86 @@
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.15.10-alpine3.12, 1.15-alpine3.12
Tags: 1.15.11-alpine3.12, 1.15-alpine3.12
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 5277168e72673908443294debac20d9902703696
GitCommit: a0efffd2a9f3b2f6396a78cc7a46d5baddf74b2a
Directory: 1.15/alpine3.12
-Tags: 1.15.10-alpine3.13, 1.15-alpine3.13, 1.15.10-alpine, 1.15-alpine
Tags: 1.15.11-alpine3.13, 1.15-alpine3.13, 1.15.11-alpine, 1.15-alpine
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 5277168e72673908443294debac20d9902703696
GitCommit: a0efffd2a9f3b2f6396a78cc7a46d5baddf74b2a
Directory: 1.15/alpine3.13
-Tags: 1.15.10-buster, 1.15-buster
-SharedTags: 1.15.10, 1.15
Tags: 1.15.11-buster, 1.15-buster
SharedTags: 1.15.11, 1.15
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 5277168e72673908443294debac20d9902703696
GitCommit: a0efffd2a9f3b2f6396a78cc7a46d5baddf74b2a
Directory: 1.15/buster
-Tags: 1.15.10-nanoserver-1809, 1.15-nanoserver-1809
-SharedTags: 1.15.10-nanoserver, 1.15-nanoserver
Tags: 1.15.11-nanoserver-1809, 1.15-nanoserver-1809
SharedTags: 1.15.11-nanoserver, 1.15-nanoserver
Architectures: windows-amd64
-GitCommit: 5277168e72673908443294debac20d9902703696
GitCommit: a0efffd2a9f3b2f6396a78cc7a46d5baddf74b2a
Directory: 1.15/windows/nanoserver-1809
Constraints: nanoserver-1809, windowsservercore-1809
-Tags: 1.15.10-stretch, 1.15-stretch
Tags: 1.15.11-stretch, 1.15-stretch
Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: 5277168e72673908443294debac20d9902703696
GitCommit: a0efffd2a9f3b2f6396a78cc7a46d5baddf74b2a
Directory: 1.15/stretch
-Tags: 1.15.10-windowsservercore-1809, 1.15-windowsservercore-1809
-SharedTags: 1.15.10-windowsservercore, 1.15-windowsservercore, 1.15.10, 1.15
Tags: 1.15.11-windowsservercore-1809, 1.15-windowsservercore-1809
SharedTags: 1.15.11-windowsservercore, 1.15-windowsservercore, 1.15.11, 1.15
Architectures: windows-amd64
-GitCommit: 5277168e72673908443294debac20d9902703696
GitCommit: a0efffd2a9f3b2f6396a78cc7a46d5baddf74b2a
Directory: 1.15/windows/windowsservercore-1809
Constraints: windowsservercore-1809
-Tags: 1.15.10-windowsservercore-ltsc2016, 1.15-windowsservercore-ltsc2016
-SharedTags: 1.15.10-windowsservercore, 1.15-windowsservercore, 1.15.10, 1.15
Tags: 1.15.11-windowsservercore-ltsc2016, 1.15-windowsservercore-ltsc2016
SharedTags: 1.15.11-windowsservercore, 1.15-windowsservercore, 1.15.11, 1.15
Architectures: windows-amd64
-GitCommit: 5277168e72673908443294debac20d9902703696
GitCommit: a0efffd2a9f3b2f6396a78cc7a46d5baddf74b2a
Directory: 1.15/windows/windowsservercore-ltsc2016
Constraints: windowsservercore-ltsc2016
-Tags: 1.16.2-alpine3.12, 1.16-alpine3.12, 1-alpine3.12, alpine3.12
Tags: 1.16.3-alpine3.12, 1.16-alpine3.12, 1-alpine3.12, alpine3.12
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: fc960e720b9ba539812525220a272aa3961d359c
GitCommit: f12c995e27fef88ccb984605ab4748737ae3a778
Directory: 1.16/alpine3.12
-Tags: 1.16.2-alpine3.13, 1.16-alpine3.13, 1-alpine3.13, alpine3.13, 1.16.2-alpine, 1.16-alpine, 1-alpine, alpine
Tags: 1.16.3-alpine3.13, 1.16-alpine3.13, 1-alpine3.13, alpine3.13, 1.16.3-alpine, 1.16-alpine, 1-alpine, alpine
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: fc960e720b9ba539812525220a272aa3961d359c
GitCommit: f12c995e27fef88ccb984605ab4748737ae3a778
Directory: 1.16/alpine3.13
-Tags: 1.16.2-buster, 1.16-buster, 1-buster, buster
-SharedTags: 1.16.2, 1.16, 1, latest
Tags: 1.16.3-buster, 1.16-buster, 1-buster, buster
SharedTags: 1.16.3, 1.16, 1, latest
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: fc960e720b9ba539812525220a272aa3961d359c
GitCommit: f12c995e27fef88ccb984605ab4748737ae3a778
Directory: 1.16/buster
-Tags: 1.16.2-nanoserver-1809, 1.16-nanoserver-1809, 1-nanoserver-1809, nanoserver-1809
-SharedTags: 1.16.2-nanoserver, 1.16-nanoserver, 1-nanoserver, nanoserver
Tags: 1.16.3-nanoserver-1809, 1.16-nanoserver-1809, 1-nanoserver-1809, nanoserver-1809
SharedTags: 1.16.3-nanoserver, 1.16-nanoserver, 1-nanoserver, nanoserver
Architectures: windows-amd64
-GitCommit: fc960e720b9ba539812525220a272aa3961d359c
GitCommit: f12c995e27fef88ccb984605ab4748737ae3a778
Directory: 1.16/windows/nanoserver-1809
Constraints: nanoserver-1809, windowsservercore-1809
-Tags: 1.16.2-stretch, 1.16-stretch, 1-stretch, stretch
Tags: 1.16.3-stretch, 1.16-stretch, 1-stretch, stretch
Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: fc960e720b9ba539812525220a272aa3961d359c
GitCommit: f12c995e27fef88ccb984605ab4748737ae3a778
Directory: 1.16/stretch
-Tags: 1.16.2-windowsservercore-1809, 1.16-windowsservercore-1809, 1-windowsservercore-1809, windowsservercore-1809
-SharedTags: 1.16.2-windowsservercore, 1.16-windowsservercore, 1-windowsservercore, windowsservercore, 1.16.2, 1.16, 1, latest
Tags: 1.16.3-windowsservercore-1809, 1.16-windowsservercore-1809, 1-windowsservercore-1809, windowsservercore-1809
SharedTags: 1.16.3-windowsservercore, 1.16-windowsservercore, 1-windowsservercore, windowsservercore, 1.16.3, 1.16, 1, latest
Architectures: windows-amd64
-GitCommit: fc960e720b9ba539812525220a272aa3961d359c
GitCommit: f12c995e27fef88ccb984605ab4748737ae3a778
Directory: 1.16/windows/windowsservercore-1809
Constraints: windowsservercore-1809
-Tags: 1.16.2-windowsservercore-ltsc2016, 1.16-windowsservercore-ltsc2016, 1-windowsservercore-ltsc2016, windowsservercore-ltsc2016
-SharedTags: 1.16.2-windowsservercore, 1.16-windowsservercore, 1-windowsservercore, windowsservercore, 1.16.2, 1.16, 1, latest
Tags: 1.16.3-windowsservercore-ltsc2016, 1.16-windowsservercore-ltsc2016, 1-windowsservercore-ltsc2016, windowsservercore-ltsc2016
SharedTags: 1.16.3-windowsservercore, 1.16-windowsservercore, 1-windowsservercore, windowsservercore, 1.16.3, 1.16, 1, latest
Architectures: windows-amd64
-GitCommit: fc960e720b9ba539812525220a272aa3961d359c
GitCommit: f12c995e27fef88ccb984605ab4748737ae3a778
Directory: 1.16/windows/windowsservercore-ltsc2016
Constraints: windowsservercore-ltsc2016
diff --git a/_bashbrew-list b/_bashbrew-list
index c27ccb3..7bf30a0 100644
--- a/_bashbrew-list
b/_bashbrew-list
@@ -20,17 20,17 @@ golang:1.15-stretch
golang:1.15-windowsservercore
golang:1.15-windowsservercore-1809
golang:1.15-windowsservercore-ltsc2016
-golang:1.15.10
-golang:1.15.10-alpine
-golang:1.15.10-alpine3.12
-golang:1.15.10-alpine3.13
-golang:1.15.10-buster
-golang:1.15.10-nanoserver
-golang:1.15.10-nanoserver-1809
-golang:1.15.10-stretch
-golang:1.15.10-windowsservercore
-golang:1.15.10-windowsservercore-1809
-golang:1.15.10-windowsservercore-ltsc2016
golang:1.15.11
golang:1.15.11-alpine
golang:1.15.11-alpine3.12
golang:1.15.11-alpine3.13
golang:1.15.11-buster
golang:1.15.11-nanoserver
golang:1.15.11-nanoserver-1809
golang:1.15.11-stretch
golang:1.15.11-windowsservercore
golang:1.15.11-windowsservercore-1809
golang:1.15.11-windowsservercore-ltsc2016
golang:1.16
golang:1.16-alpine
golang:1.16-alpine3.12
@@ -42,17 42,17 @@ golang:1.16-stretch
golang:1.16-windowsservercore
golang:1.16-windowsservercore-1809
golang:1.16-windowsservercore-ltsc2016
-golang:1.16.2
-golang:1.16.2-alpine
-golang:1.16.2-alpine3.12
-golang:1.16.2-alpine3.13
-golang:1.16.2-buster
-golang:1.16.2-nanoserver
-golang:1.16.2-nanoserver-1809
-golang:1.16.2-stretch
-golang:1.16.2-windowsservercore
-golang:1.16.2-windowsservercore-1809
-golang:1.16.2-windowsservercore-ltsc2016
golang:1.16.3
golang:1.16.3-alpine
golang:1.16.3-alpine3.12
golang:1.16.3-alpine3.13
golang:1.16.3-buster
golang:1.16.3-nanoserver
golang:1.16.3-nanoserver-1809
golang:1.16.3-stretch
golang:1.16.3-windowsservercore
golang:1.16.3-windowsservercore-1809
golang:1.16.3-windowsservercore-ltsc2016
golang:alpine
golang:alpine3.12
golang:alpine3.13
diff --git a/golang_1.15-alpine/Dockerfile b/golang_1.15-alpine/Dockerfile
index 586493c..5988443 100644
--- a/golang_1.15-alpine/Dockerfile
b/golang_1.15-alpine/Dockerfile
@@ -16,7 16,7 @@ RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf
ENV PATH /usr/local/go/bin:$PATH
-ENV GOLANG_VERSION 1.15.10
ENV GOLANG_VERSION 1.15.11
RUN set -eux; \
apk add --no-cache --virtual .build-deps \
@@ -54,8 54,8 @@ RUN set -eux; \
esac; \
\
# https://github.com/golang/go/issues/38536#issuecomment-616897960
- url='https://storage.googleapis.com/golang/go1.15.10.src.tar.gz'; \
- sha256='c1dbca6e0910b41d61a95bf9878f6d6e93d15d884c226b91d9d4b1113c10dd65'; \
url='https://storage.googleapis.com/golang/go1.15.11.src.tar.gz'; \
sha256='f25b2441d4c76cf63cde94d59bab237cc33e8a2a139040d904c8630f46d061e5'; \
\
wget -O go.tgz.asc "$url.asc"; \
wget -O go.tgz "$url"; \
diff --git a/golang_1.15-alpine3.12/Dockerfile b/golang_1.15-alpine3.12/Dockerfile
index 3dfbba5..65fe246 100644
--- a/golang_1.15-alpine3.12/Dockerfile
b/golang_1.15-alpine3.12/Dockerfile
@@ -16,7 16,7 @@ RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf
ENV PATH /usr/local/go/bin:$PATH
-ENV GOLANG_VERSION 1.15.10
ENV GOLANG_VERSION 1.15.11
RUN set -eux; \
apk add --no-cache --virtual .build-deps \
@@ -54,8 54,8 @@ RUN set -eux; \
esac; \
\
# https://github.com/golang/go/issues/38536#issuecomment-616897960
- url='https://storage.googleapis.com/golang/go1.15.10.src.tar.gz'; \
- sha256='c1dbca6e0910b41d61a95bf9878f6d6e93d15d884c226b91d9d4b1113c10dd65'; \
url='https://storage.googleapis.com/golang/go1.15.11.src.tar.gz'; \
sha256='f25b2441d4c76cf63cde94d59bab237cc33e8a2a139040d904c8630f46d061e5'; \
\
wget -O go.tgz.asc "$url.asc"; \
wget -O go.tgz "$url"; \
diff --git a/golang_1.15-buster/Dockerfile b/golang_1.15-buster/Dockerfile
index f128037..33b7015 100644
--- a/golang_1.15-buster/Dockerfile
b/golang_1.15-buster/Dockerfile
@@ -17,7 17,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ENV PATH /usr/local/go/bin:$PATH
-ENV GOLANG_VERSION 1.15.10
ENV GOLANG_VERSION 1.15.11
RUN set -eux; \
\
@@ -25,34 25,34 @@ RUN set -eux; \
url=; \
case "${dpkgArch##*-}" in \
'amd64') \
- url='https://storage.googleapis.com/golang/go1.15.10.linux-amd64.tar.gz'; \
- sha256='4aa1267517df32f2bf1cc3d55dfc27d0c6b2c2b0989449c96dd19273ccca051d'; \
url='https://storage.googleapis.com/golang/go1.15.11.linux-amd64.tar.gz'; \
sha256='8825b72d74b14e82b54ba3697813772eb94add3abf70f021b6bdebe193ed01ec'; \
;; \
'armel') \
export GOARCH='arm' GOARM='5' GOOS='linux'; \
;; \
'armhf') \
- url='https://storage.googleapis.com/golang/go1.15.10.linux-armv6l.tar.gz'; \
- sha256='10739f7a87544acca49c9f1c025ae1821ce83601228a968bd7102357ae89887b'; \
url='https://storage.googleapis.com/golang/go1.15.11.linux-armv6l.tar.gz'; \
sha256='dba11ed018fc7b5774ca996c4bdb847f8f9535cdc4932eb09a43c390813af4c9'; \
;; \
'arm64') \
- url='https://storage.googleapis.com/golang/go1.15.10.linux-arm64.tar.gz'; \
- sha256='ca3f3e84d863d8e758bfaab65430b12b6cff8f5a5648139245321d3401da64a7'; \
url='https://storage.googleapis.com/golang/go1.15.11.linux-arm64.tar.gz'; \
sha256='bfc8f07945296e97c6d28c7999d86b5cab51c7a87eb2b22ca6781c41a6bb6f2d'; \
;; \
'i386') \
- url='https://storage.googleapis.com/golang/go1.15.10.linux-386.tar.gz'; \
- sha256='69a29473c9e8eded5b5885a45773e4f1b9661383ce577199c4c70efe4c67bc59'; \
url='https://storage.googleapis.com/golang/go1.15.11.linux-386.tar.gz'; \
sha256='2de51fc6873d8b688d7451cfc87443ef49404af98bbab9c8a36fb6c4bc95e4de'; \
;; \
'mips64el') \
export GOARCH='mips64le' GOOS='linux'; \
;; \
'ppc64el') \
- url='https://storage.googleapis.com/golang/go1.15.10.linux-ppc64le.tar.gz'; \
- sha256='49128af704c37a356b1d14d814e4cf64218a8c6cabb22249e0c0068b35f710d3'; \
url='https://storage.googleapis.com/golang/go1.15.11.linux-ppc64le.tar.gz'; \
sha256='4916ef0fc4c40db2dcc503a3473b325ed21d100cc77f1cc7e0a3aede19eec628'; \
;; \
's390x') \
- url='https://storage.googleapis.com/golang/go1.15.10.linux-s390x.tar.gz'; \
- sha256='230e0e50fe0df0ba380804c02f1d88a801c6dee38582c4a9502e79dc744c7bb0'; \
url='https://storage.googleapis.com/golang/go1.15.11.linux-s390x.tar.gz'; \
sha256='2fb25504fa525e24dbba7e8e7fa2d91c42c66272dc176d5270dec77099124c75'; \
;; \
*) echo >&2 "error: unsupported architecture '$dpkgArch' (likely packaging update needed)"; exit 1 ;; \
esac; \
@@ -60,8 60,8 @@ RUN set -eux; \
if [ -z "$url" ]; then \
# https://github.com/golang/go/issues/38536#issuecomment-616897960
build=1; \
- url='https://storage.googleapis.com/golang/go1.15.10.src.tar.gz'; \
- sha256='c1dbca6e0910b41d61a95bf9878f6d6e93d15d884c226b91d9d4b1113c10dd65'; \
url='https://storage.googleapis.com/golang/go1.15.11.src.tar.gz'; \
sha256='f25b2441d4c76cf63cde94d59bab237cc33e8a2a139040d904c8630f46d061e5'; \
echo >&2; \
echo >&2 "warning: current architecture ($dpkgArch) does not have a corresponding Go binary release; will be building from source"; \
echo >&2; \
diff --git a/golang_1.15-nanoserver-1809/Dockerfile b/golang_1.15-nanoserver-1809/Dockerfile
index 1d1643e..6721be4 100644
--- a/golang_1.15-nanoserver-1809/Dockerfile
b/golang_1.15-nanoserver-1809/Dockerfile
@@ -20,9 20,9 @@ RUN setx /m PATH "%GOPATH%\bin;C:\go\bin;%PATH%"
USER ContainerUser
# doing this first to share cache across versions more aggressively
-ENV GOLANG_VERSION 1.15.10
ENV GOLANG_VERSION 1.15.11
-COPY --from=golang:1.15.10-windowsservercore-1809 C:\\go C:\\go
COPY --from=golang:1.15.11-windowsservercore-1809 C:\\go C:\\go
RUN go version
WORKDIR $GOPATH
diff --git a/golang_1.15-stretch/Dockerfile b/golang_1.15-stretch/Dockerfile
index 8e1f23f..ad4fe56 100644
--- a/golang_1.15-stretch/Dockerfile
b/golang_1.15-stretch/Dockerfile
@@ -17,7 17,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ENV PATH /usr/local/go/bin:$PATH
-ENV GOLANG_VERSION 1.15.10
ENV GOLANG_VERSION 1.15.11
RUN set -eux; \
\
@@ -25,34 25,34 @@ RUN set -eux; \
url=; \
case "${dpkgArch##*-}" in \
'amd64') \
- url='https://storage.googleapis.com/golang/go1.15.10.linux-amd64.tar.gz'; \
- sha256='4aa1267517df32f2bf1cc3d55dfc27d0c6b2c2b0989449c96dd19273ccca051d'; \
url='https://storage.googleapis.com/golang/go1.15.11.linux-amd64.tar.gz'; \
sha256='8825b72d74b14e82b54ba3697813772eb94add3abf70f021b6bdebe193ed01ec'; \
;; \
'armel') \
export GOARCH='arm' GOARM='5' GOOS='linux'; \
;; \
'armhf') \
- url='https://storage.googleapis.com/golang/go1.15.10.linux-armv6l.tar.gz'; \
- sha256='10739f7a87544acca49c9f1c025ae1821ce83601228a968bd7102357ae89887b'; \
url='https://storage.googleapis.com/golang/go1.15.11.linux-armv6l.tar.gz'; \
sha256='dba11ed018fc7b5774ca996c4bdb847f8f9535cdc4932eb09a43c390813af4c9'; \
;; \
'arm64') \
- url='https://storage.googleapis.com/golang/go1.15.10.linux-arm64.tar.gz'; \
- sha256='ca3f3e84d863d8e758bfaab65430b12b6cff8f5a5648139245321d3401da64a7'; \
url='https://storage.googleapis.com/golang/go1.15.11.linux-arm64.tar.gz'; \
sha256='bfc8f07945296e97c6d28c7999d86b5cab51c7a87eb2b22ca6781c41a6bb6f2d'; \
;; \
'i386') \
- url='https://storage.googleapis.com/golang/go1.15.10.linux-386.tar.gz'; \
- sha256='69a29473c9e8eded5b5885a45773e4f1b9661383ce577199c4c70efe4c67bc59'; \
url='https://storage.googleapis.com/golang/go1.15.11.linux-386.tar.gz'; \
sha256='2de51fc6873d8b688d7451cfc87443ef49404af98bbab9c8a36fb6c4bc95e4de'; \
;; \
'mips64el') \
export GOARCH='mips64le' GOOS='linux'; \
;; \
'ppc64el') \
- url='https://storage.googleapis.com/golang/go1.15.10.linux-ppc64le.tar.gz'; \
- sha256='49128af704c37a356b1d14d814e4cf64218a8c6cabb22249e0c0068b35f710d3'; \
url='https://storage.googleapis.com/golang/go1.15.11.linux-ppc64le.tar.gz'; \
sha256='4916ef0fc4c40db2dcc503a3473b325ed21d100cc77f1cc7e0a3aede19eec628'; \
;; \
's390x') \
- url='https://storage.googleapis.com/golang/go1.15.10.linux-s390x.tar.gz'; \
- sha256='230e0e50fe0df0ba380804c02f1d88a801c6dee38582c4a9502e79dc744c7bb0'; \
url='https://storage.googleapis.com/golang/go1.15.11.linux-s390x.tar.gz'; \
sha256='2fb25504fa525e24dbba7e8e7fa2d91c42c66272dc176d5270dec77099124c75'; \
;; \
*) echo >&2 "error: unsupported architecture '$dpkgArch' (likely packaging update needed)"; exit 1 ;; \
esac; \
@@ -60,8 60,8 @@ RUN set -eux; \
if [ -z "$url" ]; then \
# https://github.com/golang/go/issues/38536#issuecomment-616897960
build=1; \
- url='https://storage.googleapis.com/golang/go1.15.10.src.tar.gz'; \
- sha256='c1dbca6e0910b41d61a95bf9878f6d6e93d15d884c226b91d9d4b1113c10dd65'; \
url='https://storage.googleapis.com/golang/go1.15.11.src.tar.gz'; \
sha256='f25b2441d4c76cf63cde94d59bab237cc33e8a2a139040d904c8630f46d061e5'; \
echo >&2; \
echo >&2 "warning: current architecture ($dpkgArch) does not have a corresponding Go binary release; will be building from source"; \
echo >&2; \
diff --git a/golang_1.15-windowsservercore-1809/Dockerfile b/golang_1.15-windowsservercore-1809/Dockerfile
index 8aecc40..d138179 100644
--- a/golang_1.15-windowsservercore-1809/Dockerfile
b/golang_1.15-windowsservercore-1809/Dockerfile
@@ -52,13 52,13 @@ RUN $newPath = ('{0}\bin;C:\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.15.10
ENV GOLANG_VERSION 1.15.11
-RUN $url = 'https://storage.googleapis.com/golang/go1.15.10.windows-amd64.zip'; \
RUN $url = 'https://storage.googleapis.com/golang/go1.15.11.windows-amd64.zip'; \
Write-Host ('Downloading {0} ...' -f $url); \
Invoke-WebRequest -Uri $url -OutFile 'go.zip'; \
\
- $sha256 = 'ba30d211e96d57ce2becf17fe9ebe1d958eba29384c5aeb1e99f9209b44dd7c2'; \
$sha256 = '56f63de17cd739287de6d9f3cfdad3b781ad3e4a18aae20ece994ee97c1819fd'; \
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.15-windowsservercore-ltsc2016/Dockerfile b/golang_1.15-windowsservercore-ltsc2016/Dockerfile
index 23ec51a..bedd1e6 100644
--- a/golang_1.15-windowsservercore-ltsc2016/Dockerfile
b/golang_1.15-windowsservercore-ltsc2016/Dockerfile
@@ -52,13 52,13 @@ RUN $newPath = ('{0}\bin;C:\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.15.10
ENV GOLANG_VERSION 1.15.11
-RUN $url = 'https://storage.googleapis.com/golang/go1.15.10.windows-amd64.zip'; \
RUN $url = 'https://storage.googleapis.com/golang/go1.15.11.windows-amd64.zip'; \
Write-Host ('Downloading {0} ...' -f $url); \
Invoke-WebRequest -Uri $url -OutFile 'go.zip'; \
\
- $sha256 = 'ba30d211e96d57ce2becf17fe9ebe1d958eba29384c5aeb1e99f9209b44dd7c2'; \
$sha256 = '56f63de17cd739287de6d9f3cfdad3b781ad3e4a18aae20ece994ee97c1819fd'; \
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 937e60f..c02843e 100644
--- a/golang_alpine/Dockerfile
b/golang_alpine/Dockerfile
@@ -16,7 16,7 @@ RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf
ENV PATH /usr/local/go/bin:$PATH
-ENV GOLANG_VERSION 1.16.2
ENV GOLANG_VERSION 1.16.3
RUN set -eux; \
apk add --no-cache --virtual .build-deps \
@@ -54,8 54,8 @@ RUN set -eux; \
esac; \
\
# https://github.com/golang/go/issues/38536#issuecomment-616897960
- url='https://storage.googleapis.com/golang/go1.16.2.src.tar.gz'; \
- sha256='37ca14287a23cb8ba2ac3f5c3dd8adbc1f7a54b9701a57824bf19a0b271f83ea'; \
url='https://storage.googleapis.com/golang/go1.16.3.src.tar.gz'; \
sha256='b298d29de9236ca47a023e382313bcc2d2eed31dfa706b60a04103ce83a71a25'; \
\
wget -O go.tgz.asc "$url.asc"; \
wget -O go.tgz "$url"; \
diff --git a/golang_alpine3.12/Dockerfile b/golang_alpine3.12/Dockerfile
index f273a12..f6a888e 100644
--- a/golang_alpine3.12/Dockerfile
b/golang_alpine3.12/Dockerfile
@@ -16,7 16,7 @@ RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf
ENV PATH /usr/local/go/bin:$PATH
-ENV GOLANG_VERSION 1.16.2
ENV GOLANG_VERSION 1.16.3
RUN set -eux; \
apk add --no-cache --virtual .build-deps \
@@ -54,8 54,8 @@ RUN set -eux; \
esac; \
\
# https://github.com/golang/go/issues/38536#issuecomment-616897960
- url='https://storage.googleapis.com/golang/go1.16.2.src.tar.gz'; \
- sha256='37ca14287a23cb8ba2ac3f5c3dd8adbc1f7a54b9701a57824bf19a0b271f83ea'; \
url='https://storage.googleapis.com/golang/go1.16.3.src.tar.gz'; \
sha256='b298d29de9236ca47a023e382313bcc2d2eed31dfa706b60a04103ce83a71a25'; \
\
wget -O go.tgz.asc "$url.asc"; \
wget -O go.tgz "$url"; \
diff --git a/golang_buster/Dockerfile b/golang_buster/Dockerfile
index f4e4c53..ab31d51 100644
--- a/golang_buster/Dockerfile
b/golang_buster/Dockerfile
@@ -17,7 17,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ENV PATH /usr/local/go/bin:$PATH
-ENV GOLANG_VERSION 1.16.2
ENV GOLANG_VERSION 1.16.3
RUN set -eux; \
\
@@ -25,34 25,34 @@ RUN set -eux; \
url=; \
case "${dpkgArch##*-}" in \
'amd64') \
- url='https://storage.googleapis.com/golang/go1.16.2.linux-amd64.tar.gz'; \
- sha256='542e936b19542e62679766194364f45141fde55169db2d8d01046555ca9eb4b8'; \
url='https://storage.googleapis.com/golang/go1.16.3.linux-amd64.tar.gz'; \
sha256='951a3c7c6ce4e56ad883f97d9db74d3d6d80d5fec77455c6ada6c1f7ac4776d2'; \
;; \
'armel') \
export GOARCH='arm' GOARM='5' GOOS='linux'; \
;; \
'armhf') \
- url='https://storage.googleapis.com/golang/go1.16.2.linux-armv6l.tar.gz'; \
- sha256='49765b1ac36f77a84ce8186b08713c3811db5426e4ecfaa4344453e12d756c22'; \
url='https://storage.googleapis.com/golang/go1.16.3.linux-armv6l.tar.gz'; \
sha256='0dae30385e3564a557dac7f12a63eedc73543e6da0f6017990e214ce8cc8797c'; \
;; \
'arm64') \
- url='https://storage.googleapis.com/golang/go1.16.2.linux-arm64.tar.gz'; \
- sha256='6924601d998a0917694fd14261347e3798bd2ad6b13c4d7f2edd70c9d57f62ab'; \
url='https://storage.googleapis.com/golang/go1.16.3.linux-arm64.tar.gz'; \
sha256='566b1d6f17d2bc4ad5f81486f0df44f3088c3ed47a3bec4099d8ed9939e90d5d'; \
;; \
'i386') \
- url='https://storage.googleapis.com/golang/go1.16.2.linux-386.tar.gz'; \
- sha256='3638abf8e8272a4ddc3e5189487c932d680abfb151e2c48ae18c9a04a90ded73'; \
url='https://storage.googleapis.com/golang/go1.16.3.linux-386.tar.gz'; \
sha256='48b2d1481db756c88c18b1f064dbfc3e265ce4a775a23177ca17e25d13a24c5d'; \
;; \
'mips64el') \
export GOARCH='mips64le' GOOS='linux'; \
;; \
'ppc64el') \
- url='https://storage.googleapis.com/golang/go1.16.2.linux-ppc64le.tar.gz'; \
- sha256='e1dcc9b460b2d522added8dfce764a06c5e455c8047b45b67a06f7f5ab19c4e0'; \
url='https://storage.googleapis.com/golang/go1.16.3.linux-ppc64le.tar.gz'; \
sha256='5eb046bbbbc7fe2591846a4303884cb5a01abb903e3e61e33459affe7874e811'; \
;; \
's390x') \
- url='https://storage.googleapis.com/golang/go1.16.2.linux-s390x.tar.gz'; \
- sha256='a686743b0803d54e051756ce946d9d72436f23e9f815739c947934e0052bf9ff'; \
url='https://storage.googleapis.com/golang/go1.16.3.linux-s390x.tar.gz'; \
sha256='3e8bd7bde533a73fd6fa75b5288678ef397e76c198cfb26b8ae086035383b1cf'; \
;; \
*) echo >&2 "error: unsupported architecture '$dpkgArch' (likely packaging update needed)"; exit 1 ;; \
esac; \
@@ -60,8 60,8 @@ RUN set -eux; \
if [ -z "$url" ]; then \
# https://github.com/golang/go/issues/38536#issuecomment-616897960
build=1; \
- url='https://storage.googleapis.com/golang/go1.16.2.src.tar.gz'; \
- sha256='37ca14287a23cb8ba2ac3f5c3dd8adbc1f7a54b9701a57824bf19a0b271f83ea'; \
url='https://storage.googleapis.com/golang/go1.16.3.src.tar.gz'; \
sha256='b298d29de9236ca47a023e382313bcc2d2eed31dfa706b60a04103ce83a71a25'; \
echo >&2; \
echo >&2 "warning: current architecture ($dpkgArch) does not have a corresponding Go binary release; will be building from source"; \
echo >&2; \
diff --git a/golang_nanoserver-1809/Dockerfile b/golang_nanoserver-1809/Dockerfile
index c071b68..c71f7e0 100644
--- a/golang_nanoserver-1809/Dockerfile
b/golang_nanoserver-1809/Dockerfile
@@ -20,9 20,9 @@ RUN setx /m PATH "%GOPATH%\bin;C:\go\bin;%PATH%"
USER ContainerUser
# doing this first to share cache across versions more aggressively
-ENV GOLANG_VERSION 1.16.2
ENV GOLANG_VERSION 1.16.3
-COPY --from=golang:1.16.2-windowsservercore-1809 C:\\go C:\\go
COPY --from=golang:1.16.3-windowsservercore-1809 C:\\go C:\\go
RUN go version
WORKDIR $GOPATH
diff --git a/golang_stretch/Dockerfile b/golang_stretch/Dockerfile
index 69e4007..6944824 100644
--- a/golang_stretch/Dockerfile
b/golang_stretch/Dockerfile
@@ -17,7 17,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ENV PATH /usr/local/go/bin:$PATH
-ENV GOLANG_VERSION 1.16.2
ENV GOLANG_VERSION 1.16.3
RUN set -eux; \
\
@@ -25,34 25,34 @@ RUN set -eux; \
url=; \
case "${dpkgArch##*-}" in \
'amd64') \
- url='https://storage.googleapis.com/golang/go1.16.2.linux-amd64.tar.gz'; \
- sha256='542e936b19542e62679766194364f45141fde55169db2d8d01046555ca9eb4b8'; \
url='https://storage.googleapis.com/golang/go1.16.3.linux-amd64.tar.gz'; \
sha256='951a3c7c6ce4e56ad883f97d9db74d3d6d80d5fec77455c6ada6c1f7ac4776d2'; \
;; \
'armel') \
export GOARCH='arm' GOARM='5' GOOS='linux'; \
;; \
'armhf') \
- url='https://storage.googleapis.com/golang/go1.16.2.linux-armv6l.tar.gz'; \
- sha256='49765b1ac36f77a84ce8186b08713c3811db5426e4ecfaa4344453e12d756c22'; \
url='https://storage.googleapis.com/golang/go1.16.3.linux-armv6l.tar.gz'; \
sha256='0dae30385e3564a557dac7f12a63eedc73543e6da0f6017990e214ce8cc8797c'; \
;; \
'arm64') \
- url='https://storage.googleapis.com/golang/go1.16.2.linux-arm64.tar.gz'; \
- sha256='6924601d998a0917694fd14261347e3798bd2ad6b13c4d7f2edd70c9d57f62ab'; \
url='https://storage.googleapis.com/golang/go1.16.3.linux-arm64.tar.gz'; \
sha256='566b1d6f17d2bc4ad5f81486f0df44f3088c3ed47a3bec4099d8ed9939e90d5d'; \
;; \
'i386') \
- url='https://storage.googleapis.com/golang/go1.16.2.linux-386.tar.gz'; \
- sha256='3638abf8e8272a4ddc3e5189487c932d680abfb151e2c48ae18c9a04a90ded73'; \
url='https://storage.googleapis.com/golang/go1.16.3.linux-386.tar.gz'; \
sha256='48b2d1481db756c88c18b1f064dbfc3e265ce4a775a23177ca17e25d13a24c5d'; \
;; \
'mips64el') \
export GOARCH='mips64le' GOOS='linux'; \
;; \
'ppc64el') \
- url='https://storage.googleapis.com/golang/go1.16.2.linux-ppc64le.tar.gz'; \
- sha256='e1dcc9b460b2d522added8dfce764a06c5e455c8047b45b67a06f7f5ab19c4e0'; \
url='https://storage.googleapis.com/golang/go1.16.3.linux-ppc64le.tar.gz'; \
sha256='5eb046bbbbc7fe2591846a4303884cb5a01abb903e3e61e33459affe7874e811'; \
;; \
's390x') \
- url='https://storage.googleapis.com/golang/go1.16.2.linux-s390x.tar.gz'; \
- sha256='a686743b0803d54e051756ce946d9d72436f23e9f815739c947934e0052bf9ff'; \
url='https://storage.googleapis.com/golang/go1.16.3.linux-s390x.tar.gz'; \
sha256='3e8bd7bde533a73fd6fa75b5288678ef397e76c198cfb26b8ae086035383b1cf'; \
;; \
*) echo >&2 "error: unsupported architecture '$dpkgArch' (likely packaging update needed)"; exit 1 ;; \
esac; \
@@ -60,8 60,8 @@ RUN set -eux; \
if [ -z "$url" ]; then \
# https://github.com/golang/go/issues/38536#issuecomment-616897960
build=1; \
- url='https://storage.googleapis.com/golang/go1.16.2.src.tar.gz'; \
- sha256='37ca14287a23cb8ba2ac3f5c3dd8adbc1f7a54b9701a57824bf19a0b271f83ea'; \
url='https://storage.googleapis.com/golang/go1.16.3.src.tar.gz'; \
sha256='b298d29de9236ca47a023e382313bcc2d2eed31dfa706b60a04103ce83a71a25'; \
echo >&2; \
echo >&2 "warning: current architecture ($dpkgArch) does not have a corresponding Go binary release; will be building from source"; \
echo >&2; \
diff --git a/golang_windowsservercore-1809/Dockerfile b/golang_windowsservercore-1809/Dockerfile
index a122d23..31b8e3b 100644
--- a/golang_windowsservercore-1809/Dockerfile
b/golang_windowsservercore-1809/Dockerfile
@@ -52,13 52,13 @@ RUN $newPath = ('{0}\bin;C:\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.16.2
ENV GOLANG_VERSION 1.16.3
-RUN $url = 'https://storage.googleapis.com/golang/go1.16.2.windows-amd64.zip'; \
RUN $url = 'https://storage.googleapis.com/golang/go1.16.3.windows-amd64.zip'; \
Write-Host ('Downloading {0} ...' -f $url); \
Invoke-WebRequest -Uri $url -OutFile 'go.zip'; \
\
- $sha256 = 'baa7d69482365930ecc5c0b99e6a5935180988a2e7b49aa8a22dbcd39f4064b7'; \
$sha256 = 'a4400345135b36cb7942e52bbaf978b66814738b855eeff8de879a09fd99de7f'; \
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-ltsc2016/Dockerfile b/golang_windowsservercore-ltsc2016/Dockerfile
index 7ba0796..8c5ae4c 100644
--- a/golang_windowsservercore-ltsc2016/Dockerfile
b/golang_windowsservercore-ltsc2016/Dockerfile
@@ -52,13 52,13 @@ RUN $newPath = ('{0}\bin;C:\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.16.2
ENV GOLANG_VERSION 1.16.3
-RUN $url = 'https://storage.googleapis.com/golang/go1.16.2.windows-amd64.zip'; \
RUN $url = 'https://storage.googleapis.com/golang/go1.16.3.windows-amd64.zip'; \
Write-Host ('Downloading {0} ...' -f $url); \
Invoke-WebRequest -Uri $url -OutFile 'go.zip'; \
\
- $sha256 = 'baa7d69482365930ecc5c0b99e6a5935180988a2e7b49aa8a22dbcd39f4064b7'; \
$sha256 = 'a4400345135b36cb7942e52bbaf978b66814738b855eeff8de879a09fd99de7f'; \
Write-Host ('Verifying sha256 ({0}) ...' -f $sha256); \
if ((Get-FileHash go.zip -Algorithm sha256).Hash -ne $sha256) { \
Write-Host 'FAILED!'; \
|
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: