diff options
| author | Christine Dodrill <me@christine.website> | 2019-03-21 11:08:38 -0700 |
|---|---|---|
| committer | Christine Dodrill <me@christine.website> | 2019-03-21 11:08:38 -0700 |
| commit | 4a3378cf43a35ecad32aea8947fd6c08997a755e (patch) | |
| tree | 031775c0a24bbd0243275097ab1a3df212ba3f5d /Dockerfile | |
| parent | b46f9684870f1d5302e81ac24fef3ec32ec178da (diff) | |
| download | xesite-4a3378cf43a35ecad32aea8947fd6c08997a755e.tar.xz xesite-4a3378cf43a35ecad32aea8947fd6c08997a755e.zip | |
Dockerfile: run tests
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2,7 +2,8 @@ FROM xena/go:1.12.1 AS build ENV GOPROXY https://cache.greedo.xeserv.us COPY . /site WORKDIR /site -RUN CGO_ENABLED=0 GOBIN=/root go install -v ./cmd/site +RUN CGO_ENABLED=0 go test ./... +RUN CGO_ENABLED=0 GOBIN=/root go install ./cmd/site FROM xena/alpine EXPOSE 5000 |
