Create fission environment for go version 1.14 (#1570)

This commit is contained in:
Jared Davis
2020-04-12 23:02:06 +08:00
committed by GitHub
parent f1e243c145
commit efd86e1b27
4 changed files with 42 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
ARG BUILDER_IMAGE=fission/builder
ARG GO_VERSION=1.14
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