Add Go 1.13 support and upgrade Go 1.12 version (#1507)

This commit is contained in:
Ta-Ching Chen
2020-01-27 20:07:39 +08:00
committed by GitHub
parent 1e8148c051
commit 8ac7db46e0
6 changed files with 44 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
ARG BUILDER_IMAGE=fission/builder
ARG GO_VERSION=1.12.7
ARG GO_VERSION=1.12
FROM ${BUILDER_IMAGE}
+14
View File
@@ -0,0 +1,14 @@
ARG BUILDER_IMAGE=fission/builder
ARG GO_VERSION=1.13
FROM ${BUILDER_IMAGE}
FROM golang:${GO_VERSION}
ENV GOPATH /usr
ENV GO111MODULE on
WORKDIR ${GOPATH}
COPY --from=0 /builder /builder
ADD build.sh /usr/local/bin/build