Browse code

Bump Golang to 1.12.1

Also removed the `-stretch` suffix, because Debian Stretch
is the default base-image now, so there should be no need
to keep the suffix

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

Sebastiaan van Stijn authored on 2018/12/20 23:47:24
Showing 4 changed files
... ...
@@ -24,7 +24,7 @@
24 24
 # the case. Therefore, you don't have to disable it anymore.
25 25
 #
26 26
 
27
-FROM golang:1.11.5 AS base
27
+FROM golang:1.12.1 AS base
28 28
 # allow replacing httpredir or deb mirror
29 29
 ARG APT_MIRROR=deb.debian.org
30 30
 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.11.5-alpine3.8 as builder
2
+FROM golang:1.12.1-alpine3.9 as builder
3 3
 
4 4
 RUN apk --no-cache add \
5 5
     bash \
... ...
@@ -5,7 +5,7 @@
5 5
 
6 6
 # This represents the bare minimum required to build and test Docker.
7 7
 
8
-FROM golang:1.11.5-stretch
8
+FROM golang:1.12.1
9 9
 
10 10
 # allow replacing httpredir or deb mirror
11 11
 ARG APT_MIRROR=deb.debian.org
... ...
@@ -168,7 +168,7 @@ SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPref
168 168
 # Environment variable notes:
169 169
 #  - GO_VERSION must be consistent with 'Dockerfile' used by Linux.
170 170
 #  - FROM_DOCKERFILE is used for detection of building within a container.
171
-ENV GO_VERSION=1.11.5 `
171
+ENV GO_VERSION=1.12.1 `
172 172
     GIT_VERSION=2.11.1 `
173 173
     GOPATH=C:\go `
174 174
     FROM_DOCKERFILE=1