Skip to content

Commit

Permalink
Merge pull request #173 from roadrunner-server/dependabot/docker/gola…
Browse files Browse the repository at this point in the history
…ng-1.23-alpine

build(deps): bump golang from 1.22-alpine to 1.23-alpine
  • Loading branch information
rustatian authored Aug 16, 2024
2 parents 3d274e9 + 4a33759 commit a194555
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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)" .`
Expand All @@ -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"
Expand Down

0 comments on commit a194555

Please sign in to comment.