File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11ARG BASE_VARIANT=alpine
22ARG GO_VERSION=1.23
3- ARG XX_VERSION=1.4.0
3+ ARG XX_VERSION=1.6.1
44
55FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx
66
7- FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-${BASE_VARIANT} as gostable
7+ FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-${BASE_VARIANT} AS gostable
88
99FROM gostable AS go-linux
1010
@@ -17,7 +17,7 @@ RUN apk add --no-cache clang lld
1717COPY --from=xx / /
1818
1919# build-go-mod can still be cached at build platform architecture.
20- FROM build-base as build
20+ FROM build-base AS build
2121
2222ARG TARGETPLATFORM
2323
@@ -60,7 +60,7 @@ RUN export CGO_LDFLAGS="-static -fuse-ld=lld" && \
6060# Ensure that the binary was cross-compiled correctly to the target platform.
6161RUN xx-verify --static /source-controller
6262
63- FROM alpine:3.19
63+ FROM alpine:3.21
6464
6565ARG TARGETPLATFORM
6666RUN apk --no-cache add ca-certificates \
You can’t perform that action at this time.
0 commit comments