Browse code

Bump Go to 1.10.4

Includes fixes to the go command, linker, and the net/http, mime/multipart,
ld/macho, bytes, and strings packages. See the Go 1.10.4 milestone on the
issue tracker for details:

https://github.com/golang/go/issues?q=milestone%3AGo1.10.4

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2018/08/28 17:08:30
Showing 4 changed files
... ...
@@ -24,10 +24,10 @@
24 24
 # the case. Therefore, you don't have to disable it anymore.
25 25
 #
26 26
 
27
-FROM golang:1.10.3 AS base
27
+FROM golang:1.10.4 AS base
28 28
 # FIXME(vdemeester) this is kept for other script depending on it to not fail right away
29 29
 # Remove this once the other scripts uses something else to detect the version
30
-ENV GO_VERSION 1.10.3
30
+ENV GO_VERSION 1.10.4
31 31
 # allow replacing httpredir or deb mirror
32 32
 ARG APT_MIRROR=deb.debian.org
33 33
 RUN sed -ri "s/(httpredir|deb).debian.org/$APT_MIRROR/g" /etc/apt/sources.list
... ...
@@ -1,5 +1,5 @@
1 1
 ## Step 1: Build tests
2
-FROM golang:1.10.3-alpine3.7 as builder
2
+FROM golang:1.10.4-alpine3.7 as builder
3 3
 
4 4
 RUN apk add --update \
5 5
     bash \
... ...
@@ -42,7 +42,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
42 42
 #            will need updating, to avoid errors. Ping #docker-maintainers on IRC
43 43
 #            with a heads-up.
44 44
 # IMPORTANT: When updating this please note that stdlib archive/tar pkg is vendored
45
-ENV GO_VERSION 1.10.3
45
+ENV GO_VERSION 1.10.4
46 46
 RUN curl -fsSL "https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz" \
47 47
 	| tar -xzC /usr/local
48 48
 ENV PATH /go/bin:/usr/local/go/bin:$PATH
... ...
@@ -161,7 +161,7 @@ SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPref
161 161
 # Environment variable notes:
162 162
 #  - GO_VERSION must be consistent with 'Dockerfile' used by Linux.
163 163
 #  - FROM_DOCKERFILE is used for detection of building within a container.
164
-ENV GO_VERSION=1.10.3 `
164
+ENV GO_VERSION=1.10.4 `
165 165
     GIT_VERSION=2.11.1 `
166 166
     GOPATH=C:\go `
167 167
     FROM_DOCKERFILE=1