Golang v2 environment -- runtime and builder (#427)

v2 environment for Go; includes runtime and builder.
This commit is contained in:
Soam Vasani
2017-12-06 23:03:05 -06:00
committed by GitHub
parent eed3018458
commit 1e6b7a4fc8
5 changed files with 99 additions and 18 deletions
+10 -1
View File
@@ -1,5 +1,14 @@
FROM golang:1.8.1
ARG BUILDER_IMAGE=fission/builder
ARG GO_VERSION=1.9.2
FROM ${BUILDER_IMAGE}
FROM golang:${GO_VERSION}
COPY --from=0 /builder /builder
ENV GOPATH /usr
RUN go get github.com/fission/fission
ADD build.sh /usr/local/bin/build