Add testing to Dockerfile
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Peter Stuifzand 2019-03-16 20:07:14 +01:00
parent 7a0cd18f7a
commit cc0c5f4538

View File

@ -1,7 +1,8 @@
# build stage # build stage
FROM golang:1.10.2-alpine3.7 AS build-env FROM golang:1.10.2-alpine3.7 AS build-env
RUN apk --no-cache add git RUN apk --no-cache add git
RUN go get p83.nl/go/wiki/... RUN go get -u p83.nl/go/wiki/...
RUN go test p83.nl/go/wiki/...
# final stage # final stage
FROM alpine FROM alpine