From e38e965b361945fb6f9ed30968cb6a144b9f0edc Mon Sep 17 00:00:00 2001 From: NatureFreshMilk Date: Tue, 26 Feb 2019 14:45:20 +0100 Subject: [PATCH] x86_64 docker image --- server/Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/server/Dockerfile b/server/Dockerfile index 7944609..6b1a979 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -1,18 +1,17 @@ FROM ubuntu as builder RUN apt-get update &&\ - apt-get install -y gcc-mingw-w64 gcc-5-arm-linux-gnueabihf gcc-i686-linux-gnu &&\ apt-get install -y software-properties-common git &&\ add-apt-repository ppa:longsleep/golang-backports &&\ apt-get update &&\ apt-get install -y golang-go COPY ./ /server -RUN cd /server && make build-all +RUN cd /server && make build FROM alpine:latest RUN apk --no-cache add ca-certificates WORKDIR /app -COPY --from=builder /server/output/mapserver-linux-x86_64 /bin/mapserver +COPY --from=builder /server/mapserver /bin/mapserver CMD ["/bin/mapserver"]