app/vmui/Dockerfile-web: update Go builder from 1.16.7 to 1.17.1 and Alpine base image from 3.14.1 to 3.14.2

This commit is contained in:
Aliaksandr Valialkin 2021-09-13 16:14:14 +03:00
parent 5494bc02a6
commit 143a3b34ee

View File

@ -1,4 +1,4 @@
FROM golang:1.16.7 as build-web-stage
FROM golang:1.17.1 as build-web-stage
COPY build /build
WORKDIR /build
@ -6,7 +6,7 @@ COPY web/ /build/
RUN GOOS=linux GOARCH=amd64 GO111MODULE=on CGO_ENABLED=0 go build -o web-amd64 github.com/VictoriMetrics/vmui/ && \
GOOS=windows GOARCH=amd64 GO111MODULE=on CGO_ENABLED=0 go build -o web-windows github.com/VictoriMetrics/vmui/
FROM alpine:3.14.1
FROM alpine:3.14.2
USER root
COPY --from=build-web-stage /build/web-amd64 /app/web