forked from MTSR/mapserver
fix docker build
This commit is contained in:
parent
788f9d5566
commit
d2271bc10e
@ -8,7 +8,10 @@ RUN apt-get update &&\
|
|||||||
|
|
||||||
VOLUME /root/go
|
VOLUME /root/go
|
||||||
COPY ./ /server
|
COPY ./ /server
|
||||||
RUN cd /server && make test build
|
RUN cd /server &&\
|
||||||
|
go generate &&\
|
||||||
|
go test &&\
|
||||||
|
CGO_ENABLED=1 go build
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
RUN apk --no-cache add ca-certificates
|
RUN apk --no-cache add ca-certificates
|
||||||
|
Loading…
Reference in New Issue
Block a user