Update Golang versions to 1.12

Tested with local Docker build for each component.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit is contained in:
Alex Ellis (OpenFaaS Ltd)
2019-12-27 17:53:19 +00:00
parent b45e2a52a4
commit 80b6976c10
6 changed files with 23 additions and 7 deletions

View File

@ -1,4 +1,6 @@
FROM golang:1.11-alpine3.10 as build
FROM golang:1.12-alpine3.11 as build
ENV GO111MODULE=off
ENV CGO_ENABLED=0
RUN apk add --no-cache curl ca-certificates

View File

@ -1,4 +1,7 @@
FROM golang:1.10-alpine3.9 as build
FROM golang:1.12-alpine3.11 as build
ENV GO111MODULE=off
ENV CGO_ENABLED=0
RUN apk add --no-cache curl ca-certificates gcc musl-dev
RUN curl -sLSf https://raw.githubusercontent.com/teamserverless/license-check/master/get.sh | sh \