Dockerfile: Update to 1.14
This commit is contained in:
parent
7543c82473
commit
53e7aa4568
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue