diff options
| author | Christine Dodrill <me@christine.website> | 2018-08-24 17:21:47 -0700 |
|---|---|---|
| committer | Christine Dodrill <me@christine.website> | 2018-08-24 17:21:47 -0700 |
| commit | f9831f49e8a479159da6e55a684671631a79cea4 (patch) | |
| tree | 4dca79d83703f07230e11daecbd5536edf54babb /Dockerfile | |
| parent | d32277fac71cc9c88e3ecde0a4df925f047fa9a6 (diff) | |
| download | xesite-f9831f49e8a479159da6e55a684671631a79cea4.tar.xz xesite-f9831f49e8a479159da6e55a684671631a79cea4.zip | |
Dockerfile: go 1.11
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |
