Commit 21f38fb 1 parent a9be7aa commit 21f38fb Copy full SHA for 21f38fb
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ RUN apk --no-cache add git build-base bash
11
11
ENV GO111MODULE=on \
12
12
CGO_ENABLED=0
13
13
14
- ARG VERSION=2024.12.2
14
+ ARG VERSION=2025.1.0
15
15
RUN git clone https://github.com/cloudflare/cloudflared --depth=1 --branch ${VERSION} .
16
16
RUN bash -x .teamcity/install-cloudflare-go.sh
17
17
@@ -21,7 +21,7 @@ ARG TARGETARCH
21
21
ARG TARGETVARIANT
22
22
# Fixes execution on linux/arm/v6 for devices that don't support armv7 binaries
23
23
RUN if [ "${TARGETVARIANT}" = "v6" ] && [ "${TARGETARCH}" = "arm" ]; then export GOARM=6; fi; \
24
- GOOS=${TARGETOS} GOARCH=${TARGETARCH} make LINK_FLAGS="-w -s" cloudflared
24
+ GOOS=${TARGETOS} GOARCH=${TARGETARCH} CONTAINER_BUILD=1 make LINK_FLAGS="-w -s" cloudflared
25
25
26
26
# Runtime container
27
27
FROM scratch
You can’t perform that action at this time.
0 commit comments