Skip to content

Commit 282bc24

Browse files
committed
fix: added cloudflared to Dockerfile_mainnet
1 parent b97c033 commit 282bc24

2 files changed

Lines changed: 22 additions & 1 deletion

File tree

Dockerfile_mainnet

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
1334
COPY ./cmds /usr/local/bin/
1435
RUN chmod +x /usr/local/bin/*
1536

ver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
__VER__ = '2.9.240'
1+
__VER__ = '2.9.250'
22

0 commit comments

Comments
 (0)