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 1
1
ARG BASE_VARIANT=alpine
2
2
ARG GO_VERSION=1.23
3
- ARG XX_VERSION=1.4.0
3
+ ARG XX_VERSION=1.6.1
4
4
5
5
FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx
6
6
7
- FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-${BASE_VARIANT} as gostable
7
+ FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-${BASE_VARIANT} AS gostable
8
8
9
9
FROM gostable AS go-linux
10
10
@@ -17,7 +17,7 @@ RUN apk add --no-cache clang lld
17
17
COPY --from=xx / /
18
18
19
19
# build-go-mod can still be cached at build platform architecture.
20
- FROM build-base as build
20
+ FROM build-base AS build
21
21
22
22
ARG TARGETPLATFORM
23
23
@@ -60,7 +60,7 @@ RUN export CGO_LDFLAGS="-static -fuse-ld=lld" && \
60
60
# Ensure that the binary was cross-compiled correctly to the target platform.
61
61
RUN xx-verify --static /source-controller
62
62
63
- FROM alpine:3.19
63
+ FROM alpine:3.21
64
64
65
65
ARG TARGETPLATFORM
66
66
RUN apk --no-cache add ca-certificates \
You can’t perform that action at this time.
0 commit comments