Browse code

Bump Go version to 1.5.4 (security fix)

https://groups.google.com/forum/#!msg/golang-announce/9eqIHqaWvck/kXsfO0ogLAAJ

Dockerfile.armhf cannot currently be updated.

Signed-off-by: Tibor Vass <tibor@docker.com>

Tibor Vass authored on 2016/04/13 11:13:16
Showing 3 changed files
... ...
@@ -126,7 +126,7 @@ RUN set -x \
126 126
 # IMPORTANT: If the version of Go is updated, the Windows to Linux CI machines
127 127
 #            will need updating, to avoid errors. Ping #docker-maintainers on IRC
128 128
 #            with a heads-up.
129
-ENV GO_VERSION 1.5.3
129
+ENV GO_VERSION 1.5.4
130 130
 RUN curl -fsSL "https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz" \
131 131
 	| tar -xzC /usr/local
132 132
 ENV PATH /go/bin:/usr/local/go/bin:$PATH
... ...
@@ -96,7 +96,7 @@ RUN set -x \
96 96
 # We don't have official binary tarballs for ARM64, eigher for Go or bootstrap,
97 97
 # so we use the official armv6 released binaries as a GOROOT_BOOTSTRAP, and
98 98
 # build Go from source code.
99
-ENV GO_VERSION 1.5.3
99
+ENV GO_VERSION 1.5.4
100 100
 RUN mkdir /usr/src/go && curl -fsSL https://storage.googleapis.com/golang/go${GO_VERSION}.src.tar.gz | tar -v -C /usr/src/go -xz --strip-components=1 \
101 101
 	&& cd /usr/src/go/src \
102 102
 	&& GOOS=linux GOARCH=arm64 GOROOT_BOOTSTRAP="$(go env GOROOT)" ./make.bash
... ...
@@ -74,10 +74,10 @@ RUN cd /usr/local/lvm2 \
74 74
 # TODO install Go, using gccgo as GOROOT_BOOTSTRAP (Go 1.5+ supports ppc64le properly)
75 75
 # possibly a ppc64le/golang image?
76 76
 
77
-## BUILD GOLANG 1.5.3
78
-ENV GO_VERSION 1.5.3
77
+## BUILD GOLANG
78
+ENV GO_VERSION 1.5.4
79 79
 ENV GO_DOWNLOAD_URL https://golang.org/dl/go${GO_VERSION}.src.tar.gz
80
-ENV GO_DOWNLOAD_SHA256 a96cce8ce43a9bf9b2a4c7d470bc7ee0cb00410da815980681c8353218dcf146
80
+ENV GO_DOWNLOAD_SHA256 002acabce7ddc140d0d55891f9d4fcfbdd806b9332fb8b110c91bc91afb0bc93
81 81
 ENV GOROOT_BOOTSTRAP /usr/local
82 82
 
83 83
 RUN curl -fsSL "$GO_DOWNLOAD_URL" -o golang.tar.gz \