File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11# https://docs.docker.com/buildx/working-with-buildx/
22# TARGETPLATFORM if not empty OR linux/amd64 by default
3- FROM --platform=${TARGETPLATFORM:-linux/amd64} golang:1.24 -alpine AS builder
3+ FROM --platform=${TARGETPLATFORM:-linux/amd64} golang:1.25 -alpine AS builder
44
55# app version and build date must be passed during image building (version without any prefix).
66# e.g.: `docker build --build-arg "APP_VERSION=1.2.3" --build-arg "BUILD_TIME=$(date +%FT%T%z)" .`
@@ -22,7 +22,7 @@ RUN go mod tidy
2222
2323RUN CGO_ENABLED=0 go build -trimpath -ldflags "$LDFLAGS" -o ./velox ./cmd/vx
2424
25- FROM --platform=${TARGETPLATFORM:-linux/amd64} golang:1.24 -alpine
25+ FROM --platform=${TARGETPLATFORM:-linux/amd64} golang:1.25 -alpine
2626
2727# use same build arguments for image labels
2828ARG APP_VERSION="undefined"
You can’t perform that action at this time.
0 commit comments