Skip to content

Commit 27b3bcf

Browse files
lock alpine version
1 parent 575fd3a commit 27b3bcf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
################################################################################
1010
# Create a stage for building the application.
11-
ARG GO_VERSION=1.22.4-alpine
11+
ARG GO_VERSION=1.25.4-alpine
1212
FROM --platform=$BUILDPLATFORM golang:${GO_VERSION} AS build
1313
WORKDIR /src
1414
RUN apk add build-base
@@ -44,7 +44,7 @@ RUN --mount=type=cache,target=/go/pkg/mod/ \
4444
# most recent version of that image when you build your Dockerfile. If
4545
# reproducability is important, consider using a versioned tag
4646
# (e.g., alpine:3.17.2) or SHA (e.g., alpine@sha256:c41ab5c992deb4fe7e5da09f67a8804a46bd0592bfdf0b1847dde0e0889d2bff).
47-
FROM alpine:latest AS final
47+
FROM alpine:3.22 AS final
4848

4949
# Install any runtime dependencies that are needed to run your application.
5050
# Leverage a cache mount to /var/cache/apk/ to speed up subsequent builds.

0 commit comments

Comments
 (0)