File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,6 +10,27 @@ RUN wget https://dist.ipfs.tech/kubo/v0.35.0/kubo_v0.35.0_linux-amd64.tar.gz &&
1010 bash install.sh
1111# End Install IPFS
1212
13+ # Install Cloudflared
14+ ARG CLOUDFLARED_VERSION=2025.7.0
15+
16+ RUN set -eux; \
17+ # --- map architecture names to Cloudflare’s file names -------
18+ arch="$(uname -m)"; \
19+ case "$arch" in \
20+ x86_64) arch=amd64 ;; \
21+ aarch64 | arm64) arch=arm64 ;; \
22+ armv7l) arch=armv7 ;; \
23+ *) echo "Unsupported arch: $arch" >&2; exit 1 ;; \
24+ esac; \
25+ # --- download the pinned release --------------------------------
26+ curl -L "https://github.com/cloudflare/cloudflared/releases/download/${CLOUDFLARED_VERSION}/cloudflared-linux-${arch}" \
27+ -o /usr/local/bin/cloudflared; \
28+ chmod +x /usr/local/bin/cloudflared; \
29+ # --- (optional) show version so it appears in build logs --------
30+ cloudflared --version
31+ # End Install Cloudflared
32+
33+
1334COPY ./cmds /usr/local/bin/
1435RUN chmod +x /usr/local/bin/*
1536
Original file line number Diff line number Diff line change 1- __VER__ = '2.9.240 '
1+ __VER__ = '2.9.250 '
22
You can’t perform that action at this time.
0 commit comments