We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 527cb0d commit ad14ac9Copy full SHA for ad14ac9
Dockerfile
@@ -21,7 +21,7 @@ ARG TARGETARCH
21
ARG TARGETVARIANT
22
# Fixes execution on linux/arm/v6 for devices that don't support armv7 binaries
23
RUN if [ "${TARGETVARIANT}" = "v6" ] && [ "${TARGETARCH}" = "arm" ]; then export GOARM=6; fi; \
24
- GOOS=${TARGETOS} GOARCH=${TARGETARCH} make cloudflared
+ GOOS=${TARGETOS} GOARCH=${TARGETARCH} make LINK_FLAGS="-w -s" cloudflared
25
26
# Runtime container
27
FROM scratch
0 commit comments