Skip to content

Commit

Permalink
build(deps): bump golang from 1.22-alpine to 1.23-alpine
Browse files Browse the repository at this point in the history
Bumps golang from 1.22-alpine to 1.23-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
  • Loading branch information
dependabot[bot] authored Aug 14, 2024
1 parent 3d274e9 commit 4a33759
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 4a33759

Please sign in to comment.