1
0
forked from MTSR/mapserver

fix docker build

This commit is contained in:
NatureFreshMilk 2019-03-29 11:06:49 +01:00
parent 788f9d5566
commit d2271bc10e

View File

@ -8,7 +8,10 @@ RUN apt-get update &&\
VOLUME /root/go
COPY ./ /server
RUN cd /server && make test build
RUN cd /server &&\
go generate &&\
go test &&\
CGO_ENABLED=1 go build
FROM alpine:latest
RUN apk --no-cache add ca-certificates