Enable go module support for go environment (#1152)

This commit is contained in:
Ta-Ching Chen
2019-07-10 14:00:29 +08:00
committed by GitHub
parent 9e7dd5aa27
commit 58722f849a
46 changed files with 130 additions and 6538 deletions
+14
View File
@@ -0,0 +1,14 @@
ARG BUILDER_IMAGE=fission/builder
ARG GO_VERSION=1.12.7
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