-
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
[security] Update Go to 1.11.3, 1.10.6 #5181
Merged
Merged
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
Diff:diff --git a/_bashbrew-list b/_bashbrew-list
index 0205c14..589bc19 100644
--- a/_bashbrew-list
+++ b/_bashbrew-list
@@ -20,17 +20,17 @@ golang:1.10-windowsservercore
golang:1.10-windowsservercore-1709
golang:1.10-windowsservercore-1803
golang:1.10-windowsservercore-ltsc2016
-golang:1.10.5
-golang:1.10.5-alpine
-golang:1.10.5-alpine3.7
-golang:1.10.5-alpine3.8
-golang:1.10.5-nanoserver
-golang:1.10.5-nanoserver-sac2016
-golang:1.10.5-stretch
-golang:1.10.5-windowsservercore
-golang:1.10.5-windowsservercore-1709
-golang:1.10.5-windowsservercore-1803
-golang:1.10.5-windowsservercore-ltsc2016
+golang:1.10.6
+golang:1.10.6-alpine
+golang:1.10.6-alpine3.7
+golang:1.10.6-alpine3.8
+golang:1.10.6-nanoserver
+golang:1.10.6-nanoserver-sac2016
+golang:1.10.6-stretch
+golang:1.10.6-windowsservercore
+golang:1.10.6-windowsservercore-1709
+golang:1.10.6-windowsservercore-1803
+golang:1.10.6-windowsservercore-ltsc2016
golang:1.11
golang:1.11-alpine
golang:1.11-alpine3.7
@@ -42,17 +42,17 @@ golang:1.11-windowsservercore
golang:1.11-windowsservercore-1709
golang:1.11-windowsservercore-1803
golang:1.11-windowsservercore-ltsc2016
-golang:1.11.2
-golang:1.11.2-alpine
-golang:1.11.2-alpine3.7
-golang:1.11.2-alpine3.8
-golang:1.11.2-nanoserver
-golang:1.11.2-nanoserver-sac2016
-golang:1.11.2-stretch
-golang:1.11.2-windowsservercore
-golang:1.11.2-windowsservercore-1709
-golang:1.11.2-windowsservercore-1803
-golang:1.11.2-windowsservercore-ltsc2016
+golang:1.11.3
+golang:1.11.3-alpine
+golang:1.11.3-alpine3.7
+golang:1.11.3-alpine3.8
+golang:1.11.3-nanoserver
+golang:1.11.3-nanoserver-sac2016
+golang:1.11.3-stretch
+golang:1.11.3-windowsservercore
+golang:1.11.3-windowsservercore-1709
+golang:1.11.3-windowsservercore-1803
+golang:1.11.3-windowsservercore-ltsc2016
golang:alpine
golang:alpine3.7
golang:alpine3.8
diff --git a/_bashbrew-shared-tags b/_bashbrew-shared-tags
index 49a3de7..43571eb 100644
--- a/_bashbrew-shared-tags
+++ b/_bashbrew-shared-tags
@@ -4,15 +4,15 @@ golang:1-windowsservercore -- golang:windowsservercore-ltsc2016, golang:windowss
golang:1.10 -- golang:1.10-stretch, golang:1.10-windowsservercore-ltsc2016, golang:1.10-windowsservercore-1709, golang:1.10-windowsservercore-1803
golang:1.10-nanoserver -- golang:1.10-nanoserver-sac2016
golang:1.10-windowsservercore -- golang:1.10-windowsservercore-ltsc2016, golang:1.10-windowsservercore-1709, golang:1.10-windowsservercore-1803
-golang:1.10.5 -- golang:1.10-stretch, golang:1.10-windowsservercore-ltsc2016, golang:1.10-windowsservercore-1709, golang:1.10-windowsservercore-1803
-golang:1.10.5-nanoserver -- golang:1.10-nanoserver-sac2016
-golang:1.10.5-windowsservercore -- golang:1.10-windowsservercore-ltsc2016, golang:1.10-windowsservercore-1709, golang:1.10-windowsservercore-1803
+golang:1.10.6 -- golang:1.10-stretch, golang:1.10-windowsservercore-ltsc2016, golang:1.10-windowsservercore-1709, golang:1.10-windowsservercore-1803
+golang:1.10.6-nanoserver -- golang:1.10-nanoserver-sac2016
+golang:1.10.6-windowsservercore -- golang:1.10-windowsservercore-ltsc2016, golang:1.10-windowsservercore-1709, golang:1.10-windowsservercore-1803
golang:1.11 -- golang:stretch, golang:windowsservercore-ltsc2016, golang:windowsservercore-1709, golang:windowsservercore-1803
golang:1.11-nanoserver -- golang:nanoserver-sac2016
golang:1.11-windowsservercore -- golang:windowsservercore-ltsc2016, golang:windowsservercore-1709, golang:windowsservercore-1803
-golang:1.11.2 -- golang:stretch, golang:windowsservercore-ltsc2016, golang:windowsservercore-1709, golang:windowsservercore-1803
-golang:1.11.2-nanoserver -- golang:nanoserver-sac2016
-golang:1.11.2-windowsservercore -- golang:windowsservercore-ltsc2016, golang:windowsservercore-1709, golang:windowsservercore-1803
+golang:1.11.3 -- golang:stretch, golang:windowsservercore-ltsc2016, golang:windowsservercore-1709, golang:windowsservercore-1803
+golang:1.11.3-nanoserver -- golang:nanoserver-sac2016
+golang:1.11.3-windowsservercore -- golang:windowsservercore-ltsc2016, golang:windowsservercore-1709, golang:windowsservercore-1803
golang:latest -- golang:stretch, golang:windowsservercore-ltsc2016, golang:windowsservercore-1709, golang:windowsservercore-1803
golang:nanoserver -- golang:nanoserver-sac2016
golang:windowsservercore -- golang:windowsservercore-ltsc2016, golang:windowsservercore-1709, golang:windowsservercore-1803
diff --git a/golang_1.10-alpine/Dockerfile b/golang_1.10-alpine/Dockerfile
index 7584bac..62726be 100644
--- a/golang_1.10-alpine/Dockerfile
+++ b/golang_1.10-alpine/Dockerfile
@@ -8,7 +8,7 @@ RUN apk add --no-cache \
# - docker run --rm debian:stretch grep '^hosts:' /etc/nsswitch.conf
RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf
-ENV GOLANG_VERSION 1.10.5
+ENV GOLANG_VERSION 1.10.6
RUN set -eux; \
apk add --no-cache --virtual .build-deps \
@@ -37,7 +37,7 @@ RUN set -eux; \
esac; \
\
wget -O go.tgz "https://golang.org/dl/go$GOLANG_VERSION.src.tar.gz"; \
- echo 'f0a3ed5c775f39a970d4937c64b3b178992e23a5df57ae56a59a1c99253094f4 *go.tgz' | sha256sum -c -; \
+ echo '0f6bd961f6d2d6fa6319b7dc9548e2ae22d0698e7432d4cabf737542913f8c14 *go.tgz' | sha256sum -c -; \
tar -C /usr/local -xzf go.tgz; \
rm go.tgz; \
\
diff --git a/golang_1.10-alpine3.7/Dockerfile b/golang_1.10-alpine3.7/Dockerfile
index af2e2fa..3377e08 100644
--- a/golang_1.10-alpine3.7/Dockerfile
+++ b/golang_1.10-alpine3.7/Dockerfile
@@ -8,7 +8,7 @@ RUN apk add --no-cache \
# - docker run --rm debian:stretch grep '^hosts:' /etc/nsswitch.conf
RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf
-ENV GOLANG_VERSION 1.10.5
+ENV GOLANG_VERSION 1.10.6
RUN set -eux; \
apk add --no-cache --virtual .build-deps \
@@ -37,7 +37,7 @@ RUN set -eux; \
esac; \
\
wget -O go.tgz "https://golang.org/dl/go$GOLANG_VERSION.src.tar.gz"; \
- echo 'f0a3ed5c775f39a970d4937c64b3b178992e23a5df57ae56a59a1c99253094f4 *go.tgz' | sha256sum -c -; \
+ echo '0f6bd961f6d2d6fa6319b7dc9548e2ae22d0698e7432d4cabf737542913f8c14 *go.tgz' | sha256sum -c -; \
tar -C /usr/local -xzf go.tgz; \
rm go.tgz; \
\
diff --git a/golang_1.10-nanoserver-sac2016/Dockerfile b/golang_1.10-nanoserver-sac2016/Dockerfile
index b588ace..073196a 100644
--- a/golang_1.10-nanoserver-sac2016/Dockerfile
+++ b/golang_1.10-nanoserver-sac2016/Dockerfile
@@ -16,13 +16,13 @@ RUN $newPath = ('{0}\bin;C:\go\bin;{1}' -f $env:GOPATH, $env:PATH); \
setx /M PATH $newPath;
# doing this first to share cache across versions more aggressively
-ENV GOLANG_VERSION 1.10.5
+ENV GOLANG_VERSION 1.10.6
RUN $url = ('https://golang.org/dl/go{0}.windows-amd64.zip' -f $env:GOLANG_VERSION); \
Write-Host ('Downloading {0} ...' -f $url); \
Invoke-WebRequest -Uri $url -OutFile 'go.zip'; \
\
- $sha256 = 'd88a32eb4d1fc3b11253c9daa2ef397c8700f3ba493b41324b152e6cda44d2b4'; \
+ $sha256 = 'fc57f16c23b7fb41b664f549ff2ed6cca340555e374c5ff52fa296cd3f228f32'; \
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.10-stretch/Dockerfile b/golang_1.10-stretch/Dockerfile
index bfe1a6f..d1726e6 100644
--- a/golang_1.10-stretch/Dockerfile
+++ b/golang_1.10-stretch/Dockerfile
@@ -9,20 +9,20 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
pkg-config \
&& rm -rf /var/lib/apt/lists/*
-ENV GOLANG_VERSION 1.10.5
+ENV GOLANG_VERSION 1.10.6
RUN set -eux; \
\
# this "case" statement is generated via "update.sh"
dpkgArch="$(dpkg --print-architecture)"; \
case "${dpkgArch##*-}" in \
- amd64) goRelArch='linux-amd64'; goRelSha256='a035d9beda8341b645d3f45a1b620cf2d8fb0c5eb409be36b389c0fd384ecc3a' ;; \
- armhf) goRelArch='linux-armv6l'; goRelSha256='1d864a6d0ec599de9112c8354dcaaa886b4df928757966939402598e9bd9c238' ;; \
- arm64) goRelArch='linux-arm64'; goRelSha256='b4c16fcee18bc79de2fa4776c8d0f9bc164ddfc32101e96fe1da83ebe881e3df' ;; \
- i386) goRelArch='linux-386'; goRelSha256='bc1bd42405a551ba7ac86b79b9d23a5635f21de53caf684acd8bf5dfee8bef5d' ;; \
- ppc64el) goRelArch='linux-ppc64le'; goRelSha256='8fc13736d383312710249b24adf05af59ff14dacb73d9bd715ff463bc89c5c5f' ;; \
- s390x) goRelArch='linux-s390x'; goRelSha256='e90269495fab7ef99aea6937caf7a049896b2dc7b181456f80a506e69a8b57fc' ;; \
- *) goRelArch='src'; goRelSha256='f0a3ed5c775f39a970d4937c64b3b178992e23a5df57ae56a59a1c99253094f4'; \
+ amd64) goRelArch='linux-amd64'; goRelSha256='acbdedf28b55b38d2db6f06209a25a869a36d31bdcf09fd2ec3d40e1279e0592' ;; \
+ armhf) goRelArch='linux-armv6l'; goRelSha256='4da252fc7e834b7ce35d349fb581aa84a08adece926a0b9a8e4216451ffcb11e' ;; \
+ arm64) goRelArch='linux-arm64'; goRelSha256='0fcbfbcbf6373c0b6876786900a4a100c1ed9af86bd3258f23ab498cca4c02a1' ;; \
+ i386) goRelArch='linux-386'; goRelSha256='171fe6cbecb2845b875a35ac7ad758d4c0c5bd03f330fa35d340de85b9070e71' ;; \
+ ppc64el) goRelArch='linux-ppc64le'; goRelSha256='ebd7e4688f3e1baabbc735453b19c6c27116e1f292bf46622123bfc4c160c747' ;; \
+ s390x) goRelArch='linux-s390x'; goRelSha256='0223daa57bdef5bf85d308f6d2793c58055d294c13cbaca240ead2f568de2e9f' ;; \
+ *) goRelArch='src'; goRelSha256='0f6bd961f6d2d6fa6319b7dc9548e2ae22d0698e7432d4cabf737542913f8c14'; \
echo >&2; echo >&2 "warning: current architecture ($dpkgArch) does not have a corresponding Go binary release; will be building from source"; echo >&2 ;; \
esac; \
\
diff --git a/golang_1.10-windowsservercore-1709/Dockerfile b/golang_1.10-windowsservercore-1709/Dockerfile
index d8208e3..59222c5 100644
--- a/golang_1.10-windowsservercore-1709/Dockerfile
+++ b/golang_1.10-windowsservercore-1709/Dockerfile
@@ -46,13 +46,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.10.5
+ENV GOLANG_VERSION 1.10.6
RUN $url = ('https://golang.org/dl/go{0}.windows-amd64.zip' -f $env:GOLANG_VERSION); \
Write-Host ('Downloading {0} ...' -f $url); \
Invoke-WebRequest -Uri $url -OutFile 'go.zip'; \
\
- $sha256 = 'd88a32eb4d1fc3b11253c9daa2ef397c8700f3ba493b41324b152e6cda44d2b4'; \
+ $sha256 = 'fc57f16c23b7fb41b664f549ff2ed6cca340555e374c5ff52fa296cd3f228f32'; \
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.10-windowsservercore-1803/Dockerfile b/golang_1.10-windowsservercore-1803/Dockerfile
index 551b5ea..fef7d2e 100644
--- a/golang_1.10-windowsservercore-1803/Dockerfile
+++ b/golang_1.10-windowsservercore-1803/Dockerfile
@@ -46,13 +46,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.10.5
+ENV GOLANG_VERSION 1.10.6
RUN $url = ('https://golang.org/dl/go{0}.windows-amd64.zip' -f $env:GOLANG_VERSION); \
Write-Host ('Downloading {0} ...' -f $url); \
Invoke-WebRequest -Uri $url -OutFile 'go.zip'; \
\
- $sha256 = 'd88a32eb4d1fc3b11253c9daa2ef397c8700f3ba493b41324b152e6cda44d2b4'; \
+ $sha256 = 'fc57f16c23b7fb41b664f549ff2ed6cca340555e374c5ff52fa296cd3f228f32'; \
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.10-windowsservercore-ltsc2016/Dockerfile b/golang_1.10-windowsservercore-ltsc2016/Dockerfile
index 9284bcc..299bd8d 100644
--- a/golang_1.10-windowsservercore-ltsc2016/Dockerfile
+++ b/golang_1.10-windowsservercore-ltsc2016/Dockerfile
@@ -46,13 +46,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.10.5
+ENV GOLANG_VERSION 1.10.6
RUN $url = ('https://golang.org/dl/go{0}.windows-amd64.zip' -f $env:GOLANG_VERSION); \
Write-Host ('Downloading {0} ...' -f $url); \
Invoke-WebRequest -Uri $url -OutFile 'go.zip'; \
\
- $sha256 = 'd88a32eb4d1fc3b11253c9daa2ef397c8700f3ba493b41324b152e6cda44d2b4'; \
+ $sha256 = 'fc57f16c23b7fb41b664f549ff2ed6cca340555e374c5ff52fa296cd3f228f32'; \
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 99bf625..3faa823 100644
--- a/golang_alpine/Dockerfile
+++ b/golang_alpine/Dockerfile
@@ -8,7 +8,7 @@ RUN apk add --no-cache \
# - docker run --rm debian:stretch grep '^hosts:' /etc/nsswitch.conf
RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf
-ENV GOLANG_VERSION 1.11.2
+ENV GOLANG_VERSION 1.11.3
RUN set -eux; \
apk add --no-cache --virtual .build-deps \
@@ -37,7 +37,7 @@ RUN set -eux; \
esac; \
\
wget -O go.tgz "https://golang.org/dl/go$GOLANG_VERSION.src.tar.gz"; \
- echo '042fba357210816160341f1002440550e952eb12678f7c9e7e9d389437942550 *go.tgz' | sha256sum -c -; \
+ echo '7ec5140f384db2bd42b396c93c231dfba342ee137ad8a4b33120016951eb1231 *go.tgz' | sha256sum -c -; \
tar -C /usr/local -xzf go.tgz; \
rm go.tgz; \
\
diff --git a/golang_alpine3.7/Dockerfile b/golang_alpine3.7/Dockerfile
index 21b0244..c203497 100644
--- a/golang_alpine3.7/Dockerfile
+++ b/golang_alpine3.7/Dockerfile
@@ -8,7 +8,7 @@ RUN apk add --no-cache \
# - docker run --rm debian:stretch grep '^hosts:' /etc/nsswitch.conf
RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf
-ENV GOLANG_VERSION 1.11.2
+ENV GOLANG_VERSION 1.11.3
RUN set -eux; \
apk add --no-cache --virtual .build-deps \
@@ -37,7 +37,7 @@ RUN set -eux; \
esac; \
\
wget -O go.tgz "https://golang.org/dl/go$GOLANG_VERSION.src.tar.gz"; \
- echo '042fba357210816160341f1002440550e952eb12678f7c9e7e9d389437942550 *go.tgz' | sha256sum -c -; \
+ echo '7ec5140f384db2bd42b396c93c231dfba342ee137ad8a4b33120016951eb1231 *go.tgz' | sha256sum -c -; \
tar -C /usr/local -xzf go.tgz; \
rm go.tgz; \
\
diff --git a/golang_nanoserver-sac2016/Dockerfile b/golang_nanoserver-sac2016/Dockerfile
index 19bce2d..49eccbb 100644
--- a/golang_nanoserver-sac2016/Dockerfile
+++ b/golang_nanoserver-sac2016/Dockerfile
@@ -16,13 +16,13 @@ RUN $newPath = ('{0}\bin;C:\go\bin;{1}' -f $env:GOPATH, $env:PATH); \
setx /M PATH $newPath;
# doing this first to share cache across versions more aggressively
-ENV GOLANG_VERSION 1.11.2
+ENV GOLANG_VERSION 1.11.3
RUN $url = ('https://golang.org/dl/go{0}.windows-amd64.zip' -f $env:GOLANG_VERSION); \
Write-Host ('Downloading {0} ...' -f $url); \
Invoke-WebRequest -Uri $url -OutFile 'go.zip'; \
\
- $sha256 = '086c59df0dce54d88f30edd50160393deceb27e73b8d6b46b9ee3f88b0c02e28'; \
+ $sha256 = 'bc168207115eb0686e226ed3708337b161946c1acb0437603e1221e94f2e1f0f'; \
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 8744402..4cdbd35 100644
--- a/golang_stretch/Dockerfile
+++ b/golang_stretch/Dockerfile
@@ -9,20 +9,20 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
pkg-config \
&& rm -rf /var/lib/apt/lists/*
-ENV GOLANG_VERSION 1.11.2
+ENV GOLANG_VERSION 1.11.3
RUN set -eux; \
\
# this "case" statement is generated via "update.sh"
dpkgArch="$(dpkg --print-architecture)"; \
case "${dpkgArch##*-}" in \
- amd64) goRelArch='linux-amd64'; goRelSha256='1dfe664fa3d8ad714bbd15a36627992effd150ddabd7523931f077b3926d736d' ;; \
- armhf) goRelArch='linux-armv6l'; goRelSha256='b9d16a8eb1f7b8fdadd27232f6300aa8b4427e5e4cb148c4be4089db8fb56429' ;; \
- arm64) goRelArch='linux-arm64'; goRelSha256='98a42b9b8d3bacbcc6351a1e39af52eff582d0bc3ac804cd5a97ce497dd84026' ;; \
- i386) goRelArch='linux-386'; goRelSha256='e74f2f37b43b9b1bcf18008a11e0efb8921b41dff399a4f48ac09a4f25729881' ;; \
- ppc64el) goRelArch='linux-ppc64le'; goRelSha256='23291935a299fdfde4b6a988ce3faa0c7a498aab6d56bbafbf1e7476468529a3' ;; \
- s390x) goRelArch='linux-s390x'; goRelSha256='a67ef820ef8cfecc8d68c69dd5bf513aaf647c09b6605570af425bf5fe8a32f0' ;; \
- *) goRelArch='src'; goRelSha256='042fba357210816160341f1002440550e952eb12678f7c9e7e9d389437942550'; \
+ amd64) goRelArch='linux-amd64'; goRelSha256='d20a4869ffb13cee0f7ee777bf18c7b9b67ef0375f93fac1298519e0c227a07f' ;; \
+ armhf) goRelArch='linux-armv6l'; goRelSha256='384933e6e97b74c5125011c8f0539362bbed5a015978a34e441d7333d8e519b9' ;; \
+ arm64) goRelArch='linux-arm64'; goRelSha256='723c54cb081dd629a44d620197e4a789dccdfe6dee7f8b4ad7a6659f76952056' ;; \
+ i386) goRelArch='linux-386'; goRelSha256='c3fadf7f8652c060e18b7907fb8e15b853955b25aa661dbd991f6d6bc581d7a9' ;; \
+ ppc64el) goRelArch='linux-ppc64le'; goRelSha256='57c89a047ef4f539580af4cadebf1364a906891b065afa0664592e72a034b0ee' ;; \
+ s390x) goRelArch='linux-s390x'; goRelSha256='183258709c051ceb2900dee5ee681abb0bc440624c8f657374bde2a5658bef27' ;; \
+ *) goRelArch='src'; goRelSha256='7ec5140f384db2bd42b396c93c231dfba342ee137ad8a4b33120016951eb1231'; \
echo >&2; echo >&2 "warning: current architecture ($dpkgArch) does not have a corresponding Go binary release; will be building from source"; echo >&2 ;; \
esac; \
\
diff --git a/golang_windowsservercore-1709/Dockerfile b/golang_windowsservercore-1709/Dockerfile
index 1a29dc5..4b6c89f 100644
--- a/golang_windowsservercore-1709/Dockerfile
+++ b/golang_windowsservercore-1709/Dockerfile
@@ -46,13 +46,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.11.2
+ENV GOLANG_VERSION 1.11.3
RUN $url = ('https://golang.org/dl/go{0}.windows-amd64.zip' -f $env:GOLANG_VERSION); \
Write-Host ('Downloading {0} ...' -f $url); \
Invoke-WebRequest -Uri $url -OutFile 'go.zip'; \
\
- $sha256 = '086c59df0dce54d88f30edd50160393deceb27e73b8d6b46b9ee3f88b0c02e28'; \
+ $sha256 = 'bc168207115eb0686e226ed3708337b161946c1acb0437603e1221e94f2e1f0f'; \
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-1803/Dockerfile b/golang_windowsservercore-1803/Dockerfile
index 30a72ba..605e2cd 100644
--- a/golang_windowsservercore-1803/Dockerfile
+++ b/golang_windowsservercore-1803/Dockerfile
@@ -46,13 +46,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.11.2
+ENV GOLANG_VERSION 1.11.3
RUN $url = ('https://golang.org/dl/go{0}.windows-amd64.zip' -f $env:GOLANG_VERSION); \
Write-Host ('Downloading {0} ...' -f $url); \
Invoke-WebRequest -Uri $url -OutFile 'go.zip'; \
\
- $sha256 = '086c59df0dce54d88f30edd50160393deceb27e73b8d6b46b9ee3f88b0c02e28'; \
+ $sha256 = 'bc168207115eb0686e226ed3708337b161946c1acb0437603e1221e94f2e1f0f'; \
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 8a978fe..f51c44a 100644
--- a/golang_windowsservercore-ltsc2016/Dockerfile
+++ b/golang_windowsservercore-ltsc2016/Dockerfile
@@ -46,13 +46,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.11.2
+ENV GOLANG_VERSION 1.11.3
RUN $url = ('https://golang.org/dl/go{0}.windows-amd64.zip' -f $env:GOLANG_VERSION); \
Write-Host ('Downloading {0} ...' -f $url); \
Invoke-WebRequest -Uri $url -OutFile 'go.zip'; \
\
- $sha256 = '086c59df0dce54d88f30edd50160393deceb27e73b8d6b46b9ee3f88b0c02e28'; \
+ $sha256 = 'bc168207115eb0686e226ed3708337b161946c1acb0437603e1221e94f2e1f0f'; \
Write-Host ('Verifying sha256 ({0}) ...' -f $sha256); \
if ((Get-FileHash go.zip -Algorithm sha256).Hash -ne $sha256) { \
Write-Host 'FAILED!'; \ |
Build test of #5181; 2c8cf34; $ bashbrew build golang:1.11.3-stretch
Building bashbrew/cache:3b76ba0f6e18d2716c9016b98dca327ea1ff213ceb359408c09e854dc9bc7b18 (golang:1.11.3-stretch)
Tagging golang:1.11.3-stretch
Tagging golang:1.11-stretch
Tagging golang:1-stretch
Tagging golang:stretch
Tagging golang:1.11.3
Tagging golang:1.11
Tagging golang:1
Tagging golang:latest
$ test/run.sh golang:1.11.3-stretch
testing golang:1.11.3-stretch
'utc' [1/5]...passed
'cve-2014--shellshock' [2/5]...passed
'no-hard-coded-passwords' [3/5]...passed
'override-cmd' [4/5]...passed
'golang-hello-world' [5/5]...passed
$ bashbrew build golang:1.11.3-alpine3.8
Building bashbrew/cache:7a364df977b92b0822e21a447c1b861249cad1b13beae9a9b4f5a19d420fc109 (golang:1.11.3-alpine3.8)
Tagging golang:1.11.3-alpine3.8
Tagging golang:1.11-alpine3.8
Tagging golang:1-alpine3.8
Tagging golang:alpine3.8
Tagging golang:1.11.3-alpine
Tagging golang:1.11-alpine
Tagging golang:1-alpine
Tagging golang:alpine
$ test/run.sh golang:1.11.3-alpine3.8
testing golang:1.11.3-alpine3.8
'utc' [1/5]...passed
'cve-2014--shellshock' [2/5]...passed
'no-hard-coded-passwords' [3/5]...passed
'override-cmd' [4/5]...passed
'golang-hello-world' [5/5]...passed
$ bashbrew build golang:1.11.3-alpine3.7
Building bashbrew/cache:2c82b7b7329b1fe87a91a5c110f64fa9973d41b7f03604bdec9894f2065dc8e3 (golang:1.11.3-alpine3.7)
Tagging golang:1.11.3-alpine3.7
Tagging golang:1.11-alpine3.7
Tagging golang:1-alpine3.7
Tagging golang:alpine3.7
$ test/run.sh golang:1.11.3-alpine3.7
testing golang:1.11.3-alpine3.7
'utc' [1/5]...passed
'cve-2014--shellshock' [2/5]...passed
'no-hard-coded-passwords' [3/5]...passed
'override-cmd' [4/5]...passed
'golang-hello-world' [5/5]...passed
$ bashbrew build golang:1.11.3-windowsservercore-ltsc2016
skipping "golang:1.11.3-windowsservercore-ltsc2016" (due to architecture "amd64"; only "windows-amd64" supported)
$ test/run.sh golang:1.11.3-windowsservercore-ltsc2016
testing golang:1.11.3-windowsservercore-ltsc2016
image does not exist!
$ bashbrew build golang:1.11.3-windowsservercore-1709
skipping "golang:1.11.3-windowsservercore-1709" (due to architecture "amd64"; only "windows-amd64" supported)
$ test/run.sh golang:1.11.3-windowsservercore-1709
testing golang:1.11.3-windowsservercore-1709
image does not exist!
$ bashbrew build golang:1.11.3-windowsservercore-1803
skipping "golang:1.11.3-windowsservercore-1803" (due to architecture "amd64"; only "windows-amd64" supported)
$ test/run.sh golang:1.11.3-windowsservercore-1803
testing golang:1.11.3-windowsservercore-1803
image does not exist!
$ bashbrew build golang:1.11.3-nanoserver-sac2016
skipping "golang:1.11.3-nanoserver-sac2016" (due to architecture "amd64"; only "windows-amd64" supported)
$ test/run.sh golang:1.11.3-nanoserver-sac2016
testing golang:1.11.3-nanoserver-sac2016
image does not exist!
$ bashbrew build golang:1.10.6-stretch
Building bashbrew/cache:dea1900aa702e57dae4827da28fbdb0a668750f956959c96894a55d576f4e7f6 (golang:1.10.6-stretch)
Tagging golang:1.10.6-stretch
Tagging golang:1.10-stretch
Tagging golang:1.10.6
Tagging golang:1.10
$ test/run.sh golang:1.10.6-stretch
testing golang:1.10.6-stretch
'utc' [1/5]...passed
'cve-2014--shellshock' [2/5]...passed
'no-hard-coded-passwords' [3/5]...passed
'override-cmd' [4/5]...passed
'golang-hello-world' [5/5]...passed
$ bashbrew build golang:1.10.6-alpine3.8
Building bashbrew/cache:28bdffa6d0758892a3b46c1fc20ad056ce5e959ac87dfa34476d102488e33184 (golang:1.10.6-alpine3.8)
Tagging golang:1.10.6-alpine3.8
Tagging golang:1.10-alpine3.8
Tagging golang:1.10.6-alpine
Tagging golang:1.10-alpine
$ test/run.sh golang:1.10.6-alpine3.8
testing golang:1.10.6-alpine3.8
'utc' [1/5]...passed
'cve-2014--shellshock' [2/5]...passed
'no-hard-coded-passwords' [3/5]...passed
'override-cmd' [4/5]...passed
'golang-hello-world' [5/5]...passed
$ bashbrew build golang:1.10.6-alpine3.7
Building bashbrew/cache:1b8de32582f7a5e724c26669beb722c9b953f61f766396c2132cd71f9968e3d7 (golang:1.10.6-alpine3.7)
Tagging golang:1.10.6-alpine3.7
Tagging golang:1.10-alpine3.7
$ test/run.sh golang:1.10.6-alpine3.7
testing golang:1.10.6-alpine3.7
'utc' [1/5]...passed
'cve-2014--shellshock' [2/5]...passed
'no-hard-coded-passwords' [3/5]...passed
'override-cmd' [4/5]...passed
'golang-hello-world' [5/5]...passed
$ bashbrew build golang:1.10.6-windowsservercore-ltsc2016
skipping "golang:1.10.6-windowsservercore-ltsc2016" (due to architecture "amd64"; only "windows-amd64" supported)
$ test/run.sh golang:1.10.6-windowsservercore-ltsc2016
testing golang:1.10.6-windowsservercore-ltsc2016
image does not exist!
$ bashbrew build golang:1.10.6-windowsservercore-1709
skipping "golang:1.10.6-windowsservercore-1709" (due to architecture "amd64"; only "windows-amd64" supported)
$ test/run.sh golang:1.10.6-windowsservercore-1709
testing golang:1.10.6-windowsservercore-1709
image does not exist!
$ bashbrew build golang:1.10.6-windowsservercore-1803
skipping "golang:1.10.6-windowsservercore-1803" (due to architecture "amd64"; only "windows-amd64" supported)
$ test/run.sh golang:1.10.6-windowsservercore-1803
testing golang:1.10.6-windowsservercore-1803
image does not exist!
$ bashbrew build golang:1.10.6-nanoserver-sac2016
skipping "golang:1.10.6-nanoserver-sac2016" (due to architecture "amd64"; only "windows-amd64" supported)
$ test/run.sh golang:1.10.6-nanoserver-sac2016
testing golang:1.10.6-nanoserver-sac2016
image does not exist!
The following images failed at least one test:
|
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.
No description provided.