mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
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:
parent
b721110902
commit
101cdef0a7
1 changed files with 2 additions and 2 deletions
|
@ -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
|
COPY build /build
|
||||||
|
|
||||||
WORKDIR /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/ && \
|
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/
|
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
|
USER root
|
||||||
|
|
||||||
COPY --from=build-web-stage /build/web-amd64 /app/web
|
COPY --from=build-web-stage /build/web-amd64 /app/web
|
||||||
|
|
Loading…
Reference in a new issue