Dockerfile: go 1.11
This commit is contained in:
parent
d32277fac7
commit
f9831f49e8
|
@ -1,6 +1,7 @@
|
|||
FROM xena/go:1.10 AS build
|
||||
FROM xena/go:1.11 AS build
|
||||
COPY . /root/go/src/github.com/Xe/site
|
||||
RUN CGO_ENABLED=0 GOBIN=/root go install github.com/Xe/site/cmd/site
|
||||
WORKDIR /root/go/src/github.com/Xe/site
|
||||
RUN GO111MODULE=on CGO_ENABLED=0 GOBIN=/root go install -v -mod=vendor ./cmd/site
|
||||
|
||||
FROM xena/alpine
|
||||
EXPOSE 5000
|
||||
|
|
Loading…
Reference in New Issue