Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

update golang #5867

Merged
merged 1 commit into from
May 7, 2019
Merged

update golang #5867

merged 1 commit into from
May 7, 2019

Conversation

tao12345666333
Copy link
Contributor

bump golang 1.11.10 and 1.12.5

Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
@tao12345666333
Copy link
Contributor Author

@wojtek-t
Copy link

wojtek-t commented May 7, 2019

Is there anything I can help to make this happen? It's pretty important for Kubernetes.

@tao12345666333
Copy link
Contributor Author

Wait for review @tianon PTAL🤗
After it been merged we need wait for image publish jobs.

@wojtek-t
Copy link

wojtek-t commented May 7, 2019

@tao12345666333 - thanks

After it been merged we need wait for image publish jobs.

Are those running automatically? If so, how frequently?

@tao12345666333
Copy link
Contributor Author

Yes, those are running automatically. @wojtek-t

As for the frequency, if I remember correctly, it should be executed every hour (at least the update of the document on the docker hub is run every hour).

@mkeeler mkeeler mentioned this pull request May 7, 2019
3 tasks
@yosifkit
Copy link
Member

yosifkit commented May 7, 2019

Diff:
diff --git a/_bashbrew-list b/_bashbrew-list
index d03bf63..899c1b3 100644
--- a/_bashbrew-list
+++ b/_bashbrew-list
@@ -15,15 +15,15 @@ golang:1.11-windowsservercore
 golang:1.11-windowsservercore-1803
 golang:1.11-windowsservercore-1809
 golang:1.11-windowsservercore-ltsc2016
-golang:1.11.9
-golang:1.11.9-alpine
-golang:1.11.9-alpine3.8
-golang:1.11.9-alpine3.9
-golang:1.11.9-stretch
-golang:1.11.9-windowsservercore
-golang:1.11.9-windowsservercore-1803
-golang:1.11.9-windowsservercore-1809
-golang:1.11.9-windowsservercore-ltsc2016
+golang:1.11.10
+golang:1.11.10-alpine
+golang:1.11.10-alpine3.8
+golang:1.11.10-alpine3.9
+golang:1.11.10-stretch
+golang:1.11.10-windowsservercore
+golang:1.11.10-windowsservercore-1803
+golang:1.11.10-windowsservercore-1809
+golang:1.11.10-windowsservercore-ltsc2016
 golang:1.12
 golang:1.12-alpine
 golang:1.12-alpine3.9
@@ -32,14 +32,14 @@ golang:1.12-windowsservercore
 golang:1.12-windowsservercore-1803
 golang:1.12-windowsservercore-1809
 golang:1.12-windowsservercore-ltsc2016
-golang:1.12.4
-golang:1.12.4-alpine
-golang:1.12.4-alpine3.9
-golang:1.12.4-stretch
-golang:1.12.4-windowsservercore
-golang:1.12.4-windowsservercore-1803
-golang:1.12.4-windowsservercore-1809
-golang:1.12.4-windowsservercore-ltsc2016
+golang:1.12.5
+golang:1.12.5-alpine
+golang:1.12.5-alpine3.9
+golang:1.12.5-stretch
+golang:1.12.5-windowsservercore
+golang:1.12.5-windowsservercore-1803
+golang:1.12.5-windowsservercore-1809
+golang:1.12.5-windowsservercore-ltsc2016
 golang:alpine
 golang:alpine3.9
 golang:latest
diff --git a/_bashbrew-shared-tags b/_bashbrew-shared-tags
index b4025f5..d1ce6b1 100644
--- a/_bashbrew-shared-tags
+++ b/_bashbrew-shared-tags
@@ -2,11 +2,11 @@ golang:1 -- golang:stretch, golang:windowsservercore-ltsc2016, golang:windowsser
 golang:1-windowsservercore -- golang:windowsservercore-ltsc2016, golang:windowsservercore-1803, golang:windowsservercore-1809
 golang:1.11 -- golang:1.11-stretch, golang:1.11-windowsservercore-ltsc2016, golang:1.11-windowsservercore-1803, golang:1.11-windowsservercore-1809
 golang:1.11-windowsservercore -- golang:1.11-windowsservercore-ltsc2016, golang:1.11-windowsservercore-1803, golang:1.11-windowsservercore-1809
-golang:1.11.9 -- golang:1.11-stretch, golang:1.11-windowsservercore-ltsc2016, golang:1.11-windowsservercore-1803, golang:1.11-windowsservercore-1809
-golang:1.11.9-windowsservercore -- golang:1.11-windowsservercore-ltsc2016, golang:1.11-windowsservercore-1803, golang:1.11-windowsservercore-1809
+golang:1.11.10 -- golang:1.11-stretch, golang:1.11-windowsservercore-ltsc2016, golang:1.11-windowsservercore-1803, golang:1.11-windowsservercore-1809
+golang:1.11.10-windowsservercore -- golang:1.11-windowsservercore-ltsc2016, golang:1.11-windowsservercore-1803, golang:1.11-windowsservercore-1809
 golang:1.12 -- golang:stretch, golang:windowsservercore-ltsc2016, golang:windowsservercore-1803, golang:windowsservercore-1809
 golang:1.12-windowsservercore -- golang:windowsservercore-ltsc2016, golang:windowsservercore-1803, golang:windowsservercore-1809
-golang:1.12.4 -- golang:stretch, golang:windowsservercore-ltsc2016, golang:windowsservercore-1803, golang:windowsservercore-1809
-golang:1.12.4-windowsservercore -- golang:windowsservercore-ltsc2016, golang:windowsservercore-1803, golang:windowsservercore-1809
+golang:1.12.5 -- golang:stretch, golang:windowsservercore-ltsc2016, golang:windowsservercore-1803, golang:windowsservercore-1809
+golang:1.12.5-windowsservercore -- golang:windowsservercore-ltsc2016, golang:windowsservercore-1803, golang:windowsservercore-1809
 golang:latest -- golang:stretch, golang:windowsservercore-ltsc2016, golang:windowsservercore-1803, golang:windowsservercore-1809
 golang:windowsservercore -- golang:windowsservercore-ltsc2016, golang:windowsservercore-1803, golang:windowsservercore-1809
diff --git a/golang_1.11-alpine/Dockerfile b/golang_1.11-alpine/Dockerfile
index 5b59533..3733668 100644
--- a/golang_1.11-alpine/Dockerfile
+++ b/golang_1.11-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.9
+ENV GOLANG_VERSION 1.11.10
 
 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 'ee80684b352f8d6b49d804d4e615f015ae92da41c4096cfee89ed4783b2498e3 *go.tgz' | sha256sum -c -; \
+	echo 'df27e96a9d1d362c46ecd975f1faa56b8c300f5c529074e9ea79bdd885493c1b *go.tgz' | sha256sum -c -; \
 	tar -C /usr/local -xzf go.tgz; \
 	rm go.tgz; \
 	\
diff --git a/golang_1.11-alpine3.8/Dockerfile b/golang_1.11-alpine3.8/Dockerfile
index ee45b83..93f0706 100644
--- a/golang_1.11-alpine3.8/Dockerfile
+++ b/golang_1.11-alpine3.8/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.9
+ENV GOLANG_VERSION 1.11.10
 
 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 'ee80684b352f8d6b49d804d4e615f015ae92da41c4096cfee89ed4783b2498e3 *go.tgz' | sha256sum -c -; \
+	echo 'df27e96a9d1d362c46ecd975f1faa56b8c300f5c529074e9ea79bdd885493c1b *go.tgz' | sha256sum -c -; \
 	tar -C /usr/local -xzf go.tgz; \
 	rm go.tgz; \
 	\
diff --git a/golang_1.11-stretch/Dockerfile b/golang_1.11-stretch/Dockerfile
index aa650ab..4e94863 100644
--- a/golang_1.11-stretch/Dockerfile
+++ b/golang_1.11-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.9
+ENV GOLANG_VERSION 1.11.10
 
 RUN set -eux; \
 	\
 # this "case" statement is generated via "update.sh"
 	dpkgArch="$(dpkg --print-architecture)"; \
 	case "${dpkgArch##*-}" in \
-		amd64) goRelArch='linux-amd64'; goRelSha256='e88aa3e39104e3ba6a95a4e05629348b4a1ec82791fb3c941a493ca349730608' ;; \
-		armhf) goRelArch='linux-armv6l'; goRelSha256='f0d7b039cae61efdc346669f3459460e3dc03b6c6de528ca107fc53970cba0d1' ;; \
-		arm64) goRelArch='linux-arm64'; goRelSha256='892ab6c2510c4caa5905b3b1b6a1d4c6f04e384841fec50881ca2be7e8accf05' ;; \
-		i386) goRelArch='linux-386'; goRelSha256='0fa4001fcf1ef0644e261bf6dde02fc9f10ae4df6d74fda61fc4d3c3cbef1d79' ;; \
-		ppc64el) goRelArch='linux-ppc64le'; goRelSha256='6a0a6a80997529543a434667f404ead2da88ac8fecc59bfba82f62bd2588e6c8' ;; \
-		s390x) goRelArch='linux-s390x'; goRelSha256='0dd7073469d0f414b264fbadc4f720f9582b13ff6a0a978a9ef23020f9e42ac1' ;; \
-		*) goRelArch='src'; goRelSha256='ee80684b352f8d6b49d804d4e615f015ae92da41c4096cfee89ed4783b2498e3'; \
+		amd64) goRelArch='linux-amd64'; goRelSha256='aefaa228b68641e266d1f23f1d95dba33f17552ba132878b65bb798ffa37e6d0' ;; \
+		armhf) goRelArch='linux-armv6l'; goRelSha256='29812e3443c469de6b976e4e44b5e6402d55f6358a544278addc22446a0abe8b' ;; \
+		arm64) goRelArch='linux-arm64'; goRelSha256='6743c54f0e33873c113cbd66df7749e81785f378567734831c2e5d3b6b6aa2b8' ;; \
+		i386) goRelArch='linux-386'; goRelSha256='619ddab5b56597d72681467810c63238063ab0d221fe0df9b2e85608c10161e5' ;; \
+		ppc64el) goRelArch='linux-ppc64le'; goRelSha256='a6c7129e92fe325645229846257e563dab1d970bb0e61820d63524df2b54fcf8' ;; \
+		s390x) goRelArch='linux-s390x'; goRelSha256='35f196abd74db6f049018829ea6230fde6b8c2e24d2da9f9e75ce0e6d0292b49' ;; \
+		*) goRelArch='src'; goRelSha256='df27e96a9d1d362c46ecd975f1faa56b8c300f5c529074e9ea79bdd885493c1b'; \
 			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.11-windowsservercore-1803/Dockerfile b/golang_1.11-windowsservercore-1803/Dockerfile
index 7153ff2..23293df 100644
--- a/golang_1.11-windowsservercore-1803/Dockerfile
+++ b/golang_1.11-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.9
+ENV GOLANG_VERSION 1.11.10
 
 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 = 'f3f3e3c428131d5be65d79cf8663b3a81b6675e5cf9780c3b0769cfca6824922'; \
+	$sha256 = 'e0354b5cef18dbf5867fff022ed4264c441df504f3cb86c90d8b987eca336f78'; \
 	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.11-windowsservercore-1809/Dockerfile b/golang_1.11-windowsservercore-1809/Dockerfile
index 5e99627..05099fa 100644
--- a/golang_1.11-windowsservercore-1809/Dockerfile
+++ b/golang_1.11-windowsservercore-1809/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.9
+ENV GOLANG_VERSION 1.11.10
 
 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 = 'f3f3e3c428131d5be65d79cf8663b3a81b6675e5cf9780c3b0769cfca6824922'; \
+	$sha256 = 'e0354b5cef18dbf5867fff022ed4264c441df504f3cb86c90d8b987eca336f78'; \
 	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.11-windowsservercore-ltsc2016/Dockerfile b/golang_1.11-windowsservercore-ltsc2016/Dockerfile
index cbd4d5a..c429f3e 100644
--- a/golang_1.11-windowsservercore-ltsc2016/Dockerfile
+++ b/golang_1.11-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.9
+ENV GOLANG_VERSION 1.11.10
 
 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 = 'f3f3e3c428131d5be65d79cf8663b3a81b6675e5cf9780c3b0769cfca6824922'; \
+	$sha256 = 'e0354b5cef18dbf5867fff022ed4264c441df504f3cb86c90d8b987eca336f78'; \
 	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 c199fa2..6af5625 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.12.4
+ENV GOLANG_VERSION 1.12.5
 
 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 '4affc3e610cd8182c47abbc5b0c0e4e3c6a2b945b55aaa2ba952964ad9df1467 *go.tgz' | sha256sum -c -; \
+	echo '2aa5f088cbb332e73fc3def546800616b38d3bfe6b8713b8a6404060f22503e8 *go.tgz' | sha256sum -c -; \
 	tar -C /usr/local -xzf go.tgz; \
 	rm go.tgz; \
 	\
diff --git a/golang_stretch/Dockerfile b/golang_stretch/Dockerfile
index 7aeedd9..7b2d9bd 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.12.4
+ENV GOLANG_VERSION 1.12.5
 
 RUN set -eux; \
 	\
 # this "case" statement is generated via "update.sh"
 	dpkgArch="$(dpkg --print-architecture)"; \
 	case "${dpkgArch##*-}" in \
-		amd64) goRelArch='linux-amd64'; goRelSha256='d7d1f1f88ddfe55840712dc1747f37a790cbcaa448f6c9cf51bbe10aa65442f5' ;; \
-		armhf) goRelArch='linux-armv6l'; goRelSha256='c43457b6d89016e9b79b92823003fd7858fb02aea22b335cfd204e0b5be71d92' ;; \
-		arm64) goRelArch='linux-arm64'; goRelSha256='b7d7b4319b2d86a2ed20cef3b47aa23f0c97612b469178deecd021610f6917df' ;; \
-		i386) goRelArch='linux-386'; goRelSha256='eba5c51f657c1b05d5930475d1723758cd86db74499125ab48f0f9d1863845f7' ;; \
-		ppc64el) goRelArch='linux-ppc64le'; goRelSha256='51642f3cd6ef9af6c4a092c2929e4fb478f102fe949921bd77ecd6905952c216' ;; \
-		s390x) goRelArch='linux-s390x'; goRelSha256='0aab0f368c090da71f52531ebac977cc7396b692145acee557b3f9500b42467a' ;; \
-		*) goRelArch='src'; goRelSha256='4affc3e610cd8182c47abbc5b0c0e4e3c6a2b945b55aaa2ba952964ad9df1467'; \
+		amd64) goRelArch='linux-amd64'; goRelSha256='aea86e3c73495f205929cfebba0d63f1382c8ac59be081b6351681415f4063cf' ;; \
+		armhf) goRelArch='linux-armv6l'; goRelSha256='311f5e76c7cec1ec752474a61d837e474b8e750b8e3eed267911ab57c0e5da9a' ;; \
+		arm64) goRelArch='linux-arm64'; goRelSha256='ff09f34935cd189a4912f3f308ec83e4683c309304144eae9cf60ebc552e7cd8' ;; \
+		i386) goRelArch='linux-386'; goRelSha256='146605e13bf337ff3aacd941a816c5d97a8fef8b5817e07fcec4540632085980' ;; \
+		ppc64el) goRelArch='linux-ppc64le'; goRelSha256='e88b2a2098bc79ad33912d1d27bc3282a7f3231b6f4672f306465bf46ff784ca' ;; \
+		s390x) goRelArch='linux-s390x'; goRelSha256='168d297ec910cb446d1aea878baeb85f1387209f9eb55dde68bddcd4c006dcbb' ;; \
+		*) goRelArch='src'; goRelSha256='2aa5f088cbb332e73fc3def546800616b38d3bfe6b8713b8a6404060f22503e8'; \
 			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-1803/Dockerfile b/golang_windowsservercore-1803/Dockerfile
index f2e9dfa..77c5df1 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.12.4
+ENV GOLANG_VERSION 1.12.5
 
 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 = '25b043ebacca2fa2c87bbcd7463be5f34fbd225247c101888f81647fadbdfca0'; \
+	$sha256 = 'ccb694279aab39fe0e70629261f13b0307ee40d2d5e1138ed94738023ab04baa'; \
 	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-1809/Dockerfile b/golang_windowsservercore-1809/Dockerfile
index fe3f3c5..022352b 100644
--- a/golang_windowsservercore-1809/Dockerfile
+++ b/golang_windowsservercore-1809/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.12.4
+ENV GOLANG_VERSION 1.12.5
 
 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 = '25b043ebacca2fa2c87bbcd7463be5f34fbd225247c101888f81647fadbdfca0'; \
+	$sha256 = 'ccb694279aab39fe0e70629261f13b0307ee40d2d5e1138ed94738023ab04baa'; \
 	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 1f221c5..1725a83 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.12.4
+ENV GOLANG_VERSION 1.12.5
 
 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 = '25b043ebacca2fa2c87bbcd7463be5f34fbd225247c101888f81647fadbdfca0'; \
+	$sha256 = 'ccb694279aab39fe0e70629261f13b0307ee40d2d5e1138ed94738023ab04baa'; \
 	Write-Host ('Verifying sha256 ({0}) ...' -f $sha256); \
 	if ((Get-FileHash go.zip -Algorithm sha256).Hash -ne $sha256) { \
 		Write-Host 'FAILED!'; \

@yosifkit
Copy link
Member

yosifkit commented May 7, 2019

Build test of #5867; 960021d; amd64 (golang):

$ bashbrew build golang:1.12.5-stretch
Building bashbrew/cache:94d87461689063d225c954197fa5a521d56371880cc6ab4ad48732e06d2b82ff (golang:1.12.5-stretch)
Tagging golang:1.12.5-stretch
Tagging golang:1.12-stretch
Tagging golang:1-stretch
Tagging golang:stretch
Tagging golang:1.12.5
Tagging golang:1.12
Tagging golang:1
Tagging golang:latest

$ test/run.sh golang:1.12.5-stretch
testing golang:1.12.5-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.12.5-alpine3.9
Building bashbrew/cache:e4d29631675c4c5db2aeb9d818f1c974b58666a533639662268bed9fb46cb8e4 (golang:1.12.5-alpine3.9)
Tagging golang:1.12.5-alpine3.9
Tagging golang:1.12-alpine3.9
Tagging golang:1-alpine3.9
Tagging golang:alpine3.9
Tagging golang:1.12.5-alpine
Tagging golang:1.12-alpine
Tagging golang:1-alpine
Tagging golang:alpine

$ test/run.sh golang:1.12.5-alpine3.9
testing golang:1.12.5-alpine3.9
	'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.12.5-windowsservercore-ltsc2016
skipping "golang:1.12.5-windowsservercore-ltsc2016" (due to architecture "amd64"; only "windows-amd64" supported)

$ test/run.sh golang:1.12.5-windowsservercore-ltsc2016
testing golang:1.12.5-windowsservercore-ltsc2016
	image has no tests...skipping


$ bashbrew build golang:1.12.5-windowsservercore-1803
skipping "golang:1.12.5-windowsservercore-1803" (due to architecture "amd64"; only "windows-amd64" supported)

$ test/run.sh golang:1.12.5-windowsservercore-1803
testing golang:1.12.5-windowsservercore-1803
	image has no tests...skipping


$ bashbrew build golang:1.12.5-windowsservercore-1809
skipping "golang:1.12.5-windowsservercore-1809" (due to architecture "amd64"; only "windows-amd64" supported)

$ test/run.sh golang:1.12.5-windowsservercore-1809
testing golang:1.12.5-windowsservercore-1809
	image has no tests...skipping


$ bashbrew build golang:1.11.10-stretch
Building bashbrew/cache:632648ff308f6ef816e3e211ddaa2255829d37f9b50ab90c5e9fa66edf1c29ac (golang:1.11.10-stretch)
Tagging golang:1.11.10-stretch
Tagging golang:1.11-stretch
Tagging golang:1.11.10
Tagging golang:1.11

$ test/run.sh golang:1.11.10-stretch
testing golang:1.11.10-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.10-alpine3.9
Building bashbrew/cache:280d93b63dc55043dacb9dfdc1501659fbe29d7c299b69de7e948ddc8783ab58 (golang:1.11.10-alpine3.9)
Tagging golang:1.11.10-alpine3.9
Tagging golang:1.11-alpine3.9
Tagging golang:1.11.10-alpine
Tagging golang:1.11-alpine

$ test/run.sh golang:1.11.10-alpine3.9
testing golang:1.11.10-alpine3.9
	'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.10-alpine3.8
Building bashbrew/cache:642792faa4725179a0411847eed12b712ec4f0b273861c7561da2721794a00f2 (golang:1.11.10-alpine3.8)
Tagging golang:1.11.10-alpine3.8
Tagging golang:1.11-alpine3.8

$ test/run.sh golang:1.11.10-alpine3.8
testing golang:1.11.10-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.10-windowsservercore-ltsc2016
skipping "golang:1.11.10-windowsservercore-ltsc2016" (due to architecture "amd64"; only "windows-amd64" supported)

$ test/run.sh golang:1.11.10-windowsservercore-ltsc2016
testing golang:1.11.10-windowsservercore-ltsc2016
	image has no tests...skipping


$ bashbrew build golang:1.11.10-windowsservercore-1803
skipping "golang:1.11.10-windowsservercore-1803" (due to architecture "amd64"; only "windows-amd64" supported)

$ test/run.sh golang:1.11.10-windowsservercore-1803
testing golang:1.11.10-windowsservercore-1803
	image has no tests...skipping


$ bashbrew build golang:1.11.10-windowsservercore-1809
skipping "golang:1.11.10-windowsservercore-1809" (due to architecture "amd64"; only "windows-amd64" supported)

$ test/run.sh golang:1.11.10-windowsservercore-1809
testing golang:1.11.10-windowsservercore-1809
	image has no tests...skipping

@yosifkit yosifkit merged commit 09e8a4b into docker-library:master May 7, 2019
@tao12345666333 tao12345666333 deleted the bump-golang branch May 8, 2019 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants