Addresses #222. Plugins and the binaries loading them need to be built with the exact same go version. Also update README instructions.
15 lines
255 B
Docker
15 lines
255 B
Docker
FROM golang:1.8.1
|
|
|
|
ENV GOPATH /usr
|
|
ENV APP ${GOPATH}/src/github.com/fission/fission/environments/go
|
|
|
|
ADD context ${APP}/context
|
|
ADD server.go ${APP}
|
|
|
|
WORKDIR ${APP}
|
|
RUN go get
|
|
RUN go build -o /server server.go
|
|
|
|
ENTRYPOINT ["/server"]
|
|
EXPOSE 8888
|