File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 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
1111ENV GO111MODULE=on \
1212 CGO_ENABLED=0
1313
14- ARG VERSION=2024.12.2
14+ ARG VERSION=2025.1.0
1515RUN git clone https://github.com/cloudflare/cloudflared --depth=1 --branch ${VERSION} .
1616RUN bash -x .teamcity/install-cloudflare-go.sh
1717
@@ -21,7 +21,7 @@ ARG TARGETARCH
2121ARG TARGETVARIANT
2222# Fixes execution on linux/arm/v6 for devices that don't support armv7 binaries
2323RUN 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
2525
2626# Runtime container
2727FROM scratch
You can’t perform that action at this time.
0 commit comments