Golang v2 environment -- runtime and builder (#427)
v2 environment for Go; includes runtime and builder.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user