Merge pull request #77 from inductor/update_alpine

Update Alpine to 3.12 from 3.7
master
Guillaume Lours 4 years ago committed by GitHub
commit 3305168f9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -4,7 +4,7 @@ COPY . .
RUN go build -o server . RUN go build -o server .
FROM alpine:3.7 FROM alpine:3.12
EXPOSE 8000 EXPOSE 8000
COPY --from=build /go/src/github.com/org/repo/server /server COPY --from=build /go/src/github.com/org/repo/server /server
CMD ["/server"] CMD ["/server"]

@ -4,7 +4,7 @@ COPY . .
RUN go build -o server . RUN go build -o server .
FROM alpine:3.7 FROM alpine:3.12
EXPOSE 8000 EXPOSE 8000
COPY --from=build /go/src/github.com/org/repo/server /server COPY --from=build /go/src/github.com/org/repo/server /server
CMD ["/server"] CMD ["/server"]

Loading…
Cancel
Save