File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
1212FROM --platform=$BUILDPLATFORM golang:${GO_VERSION} AS build
1313WORKDIR /src
1414RUN 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.
You can’t perform that action at this time.
0 commit comments