Dockerfile: Update to 1.14

This commit is contained in:
Andrei Marcu 2020-03-12 14:27:25 -07:00
parent 7543c82473
commit 53e7aa4568
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
FROM golang:alpine3.8 AS build FROM golang:1.14-alpine3.11 AS build
COPY . /go/src/github.com/andreimarcu/linx-server COPY . /go/src/github.com/andreimarcu/linx-server
WORKDIR /go/src/github.com/andreimarcu/linx-server WORKDIR /go/src/github.com/andreimarcu/linx-server
@ -8,7 +8,7 @@ RUN set -ex \
&& go get -v . \ && go get -v . \
&& apk del .build-deps && apk del .build-deps
FROM alpine:3.8 FROM alpine:3.11
COPY --from=build /go/bin/linx-server /usr/local/bin/linx-server COPY --from=build /go/bin/linx-server /usr/local/bin/linx-server