Update Alpine to 3.12 from 3.7

Signed-off-by: inductor <kohei.ota@hpe.com>
master
inductor 4 years ago
parent 638c159abd
commit 361b0f5bb9

@ -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