Skip to content

Commit 21f38fb

Browse files
committed
Upgrade cloudflared to 2025.1.0
1 parent a9be7aa commit 21f38fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RUN apk --no-cache add git build-base bash
1111
ENV GO111MODULE=on \
1212
CGO_ENABLED=0
1313

14-
ARG VERSION=2024.12.2
14+
ARG VERSION=2025.1.0
1515
RUN git clone https://github.com/cloudflare/cloudflared --depth=1 --branch ${VERSION} .
1616
RUN bash -x .teamcity/install-cloudflare-go.sh
1717

@@ -21,7 +21,7 @@ ARG TARGETARCH
2121
ARG TARGETVARIANT
2222
# Fixes execution on linux/arm/v6 for devices that don't support armv7 binaries
2323
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
2525

2626
# Runtime container
2727
FROM scratch

0 commit comments

Comments
 (0)