diff --git a/Dockerfile b/Dockerfile index 3779ec8..ea396f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # https://docs.docker.com/buildx/working-with-buildx/ # TARGETPLATFORM if not empty OR linux/amd64 by default -FROM --platform=${TARGETPLATFORM:-linux/amd64} golang:1.22-alpine as builder +FROM --platform=${TARGETPLATFORM:-linux/amd64} golang:1.23-alpine as builder # app version and build date must be passed during image building (version without any prefix). # 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 RUN CGO_ENABLED=0 go build -trimpath -ldflags "$LDFLAGS" -o ./velox ./cmd/vx -FROM --platform=${TARGETPLATFORM:-linux/amd64} golang:1.22-alpine +FROM --platform=${TARGETPLATFORM:-linux/amd64} golang:1.23-alpine # use same build arguments for image labels ARG APP_VERSION="undefined"