Skip to content

Commit a9ee017

Browse files
Update to 1.9.6
1 parent be5ed1a commit a9ee017

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed

1.9/alpine3.6/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM alpine:3.6
22

33
RUN apk add --no-cache ca-certificates
44

5-
ENV GOLANG_VERSION 1.9.5
5+
ENV GOLANG_VERSION 1.9.6
66

77
# make-sure-R0-is-zero-before-main-on-ppc64le.patch: https://github.com/golang/go/commit/9aea0e89b6df032c29d0add8d69ba2c95f1106d9 (Go 1.9)
88
COPY *.patch /go-alpine-patches/
@@ -34,7 +34,7 @@ RUN set -eux; \
3434
esac; \
3535
\
3636
wget -O go.tgz "https://golang.org/dl/go$GOLANG_VERSION.src.tar.gz"; \
37-
echo 'f1c2bb7f32bbd8fa7a19cc1608e0d06582df32ff5f0340967d83fb0017c49fbc *go.tgz' | sha256sum -c -; \
37+
echo '36f4059be658f7f07091e27fe04bb9e97a0c4836eb446e4c5bac3c90ff9e5828 *go.tgz' | sha256sum -c -; \
3838
tar -C /usr/local -xzf go.tgz; \
3939
rm go.tgz; \
4040
\

1.9/alpine3.7/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM alpine:3.7
22

33
RUN apk add --no-cache ca-certificates
44

5-
ENV GOLANG_VERSION 1.9.5
5+
ENV GOLANG_VERSION 1.9.6
66

77
# make-sure-R0-is-zero-before-main-on-ppc64le.patch: https://github.com/golang/go/commit/9aea0e89b6df032c29d0add8d69ba2c95f1106d9 (Go 1.9)
88
COPY *.patch /go-alpine-patches/
@@ -34,7 +34,7 @@ RUN set -eux; \
3434
esac; \
3535
\
3636
wget -O go.tgz "https://golang.org/dl/go$GOLANG_VERSION.src.tar.gz"; \
37-
echo 'f1c2bb7f32bbd8fa7a19cc1608e0d06582df32ff5f0340967d83fb0017c49fbc *go.tgz' | sha256sum -c -; \
37+
echo '36f4059be658f7f07091e27fe04bb9e97a0c4836eb446e4c5bac3c90ff9e5828 *go.tgz' | sha256sum -c -; \
3838
tar -C /usr/local -xzf go.tgz; \
3939
rm go.tgz; \
4040
\

1.9/stretch/Dockerfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
99
pkg-config \
1010
&& rm -rf /var/lib/apt/lists/*
1111

12-
ENV GOLANG_VERSION 1.9.5
12+
ENV GOLANG_VERSION 1.9.6
1313

1414
RUN set -eux; \
1515
\
1616
# this "case" statement is generated via "update.sh"
1717
dpkgArch="$(dpkg --print-architecture)"; \
1818
case "${dpkgArch##*-}" in \
19-
amd64) goRelArch='linux-amd64'; goRelSha256='d21bdabf4272c2248c41b45cec606844bdc5c7c04240899bde36c01a28c51ee7' ;; \
20-
armhf) goRelArch='linux-armv6l'; goRelSha256='e9b6f0cbd95ff3077ddeaec1958be77d9675f0cf5652a67152d28d84707a4e9e' ;; \
21-
arm64) goRelArch='linux-arm64'; goRelSha256='d0bb265559cd8613882e6bbd197a80ed7090684117c6fc6900aa58dea2463715' ;; \
22-
i386) goRelArch='linux-386'; goRelSha256='52e0e3421ac4d9b8d8c89121ea93e5e3180a26679a8ea64ecbeb3657251634a3' ;; \
23-
ppc64el) goRelArch='linux-ppc64le'; goRelSha256='dfd928ab818f72b801273c669d86e6c05626f2c2addc1c7178bb715fc608daf2' ;; \
24-
s390x) goRelArch='linux-s390x'; goRelSha256='82c86885c8cc4d62ff81f828529c72cacd0ca8b02d442dc659858c6738363775' ;; \
25-
*) goRelArch='src'; goRelSha256='f1c2bb7f32bbd8fa7a19cc1608e0d06582df32ff5f0340967d83fb0017c49fbc'; \
19+
amd64) goRelArch='linux-amd64'; goRelSha256='d1eb07f99ac06906225ac2b296503f06cc257b472e7d7817b8f822fe3766ebfe' ;; \
20+
armhf) goRelArch='linux-armv6l'; goRelSha256='73e56ec4408650d9fda0be8282a9ad49c51ad17929b4d20c04cea07249726bd8' ;; \
21+
arm64) goRelArch='linux-arm64'; goRelSha256='8596d64b9f582d6209c04513824e428d1c356276180d2089d4dfcf4c7cf8a6cc' ;; \
22+
i386) goRelArch='linux-386'; goRelSha256='de65e35d7e540578e78a3c6917b9e9033b55617ef894a1de1a6a6da5a1b948dd' ;; \
23+
ppc64el) goRelArch='linux-ppc64le'; goRelSha256='b1203546c68e3be7b5e36a5cfb6ff5ef94bd476f5423035bc7e65255858741ff' ;; \
24+
s390x) goRelArch='linux-s390x'; goRelSha256='2baa6e48eedb8ec7e2a4d2454cdf05d1f46d5a07ff2f03cab5b7b8eadef7e112' ;; \
25+
*) goRelArch='src'; goRelSha256='36f4059be658f7f07091e27fe04bb9e97a0c4836eb446e4c5bac3c90ff9e5828'; \
2626
echo >&2; echo >&2 "warning: current architecture ($dpkgArch) does not have a corresponding Go binary release; will be building from source"; echo >&2 ;; \
2727
esac; \
2828
\

1.9/windows/nanoserver-sac2016/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ RUN $newPath = ('{0}\bin;C:\go\bin;{1}' -f $env:GOPATH, $env:PATH); \
1616
setx /M PATH $newPath;
1717
# doing this first to share cache across versions more aggressively
1818

19-
ENV GOLANG_VERSION 1.9.5
19+
ENV GOLANG_VERSION 1.9.6
2020

2121
RUN $url = ('https://golang.org/dl/go{0}.windows-amd64.zip' -f $env:GOLANG_VERSION); \
2222
Write-Host ('Downloading {0} ...' -f $url); \
2323
Invoke-WebRequest -Uri $url -OutFile 'go.zip'; \
2424
\
25-
$sha256 = '6c3ef0e069c0edb0b5e8575f0efca806f69354a7b808f9846b89046f46a260c2'; \
25+
$sha256 = '0b3a31eb7a46ef3976098cb92fde63c0871dceced91b0a3187953456f8eb8d6e'; \
2626
Write-Host ('Verifying sha256 ({0}) ...' -f $sha256); \
2727
if ((Get-FileHash go.zip -Algorithm sha256).Hash -ne $sha256) { \
2828
Write-Host 'FAILED!'; \

1.9/windows/windowsservercore-1709/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ RUN $newPath = ('{0}\bin;C:\go\bin;{1}' -f $env:GOPATH, $env:PATH); \
4646
[Environment]::SetEnvironmentVariable('PATH', $newPath, [EnvironmentVariableTarget]::Machine);
4747
# doing this first to share cache across versions more aggressively
4848

49-
ENV GOLANG_VERSION 1.9.5
49+
ENV GOLANG_VERSION 1.9.6
5050

5151
RUN $url = ('https://golang.org/dl/go{0}.windows-amd64.zip' -f $env:GOLANG_VERSION); \
5252
Write-Host ('Downloading {0} ...' -f $url); \
5353
Invoke-WebRequest -Uri $url -OutFile 'go.zip'; \
5454
\
55-
$sha256 = '6c3ef0e069c0edb0b5e8575f0efca806f69354a7b808f9846b89046f46a260c2'; \
55+
$sha256 = '0b3a31eb7a46ef3976098cb92fde63c0871dceced91b0a3187953456f8eb8d6e'; \
5656
Write-Host ('Verifying sha256 ({0}) ...' -f $sha256); \
5757
if ((Get-FileHash go.zip -Algorithm sha256).Hash -ne $sha256) { \
5858
Write-Host 'FAILED!'; \

1.9/windows/windowsservercore-ltsc2016/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ RUN $newPath = ('{0}\bin;C:\go\bin;{1}' -f $env:GOPATH, $env:PATH); \
4646
[Environment]::SetEnvironmentVariable('PATH', $newPath, [EnvironmentVariableTarget]::Machine);
4747
# doing this first to share cache across versions more aggressively
4848

49-
ENV GOLANG_VERSION 1.9.5
49+
ENV GOLANG_VERSION 1.9.6
5050

5151
RUN $url = ('https://golang.org/dl/go{0}.windows-amd64.zip' -f $env:GOLANG_VERSION); \
5252
Write-Host ('Downloading {0} ...' -f $url); \
5353
Invoke-WebRequest -Uri $url -OutFile 'go.zip'; \
5454
\
55-
$sha256 = '6c3ef0e069c0edb0b5e8575f0efca806f69354a7b808f9846b89046f46a260c2'; \
55+
$sha256 = '0b3a31eb7a46ef3976098cb92fde63c0871dceced91b0a3187953456f8eb8d6e'; \
5656
Write-Host ('Verifying sha256 ({0}) ...' -f $sha256); \
5757
if ((Get-FileHash go.zip -Algorithm sha256).Hash -ne $sha256) { \
5858
Write-Host 'FAILED!'; \

0 commit comments

Comments
 (0)