File tree Expand file tree Collapse file tree 5 files changed +10
-5
lines changed
Expand file tree Collapse file tree 5 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,8 @@ RUN dnf config-manager --add-repo https://pkgs.tailscale.com/stable/rhel/9/tails
7272 && systemctl enable tailscaled
7373
7474# restore cloudflared install
75- RUN curl -fsSL https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-${ARCH}.rpm -o /tmp/cloudflared.rpm \
75+ RUN ARCH=$( [ "$ARCH" = "amd64" ] && echo "x86_64" || { [ "$ARCH" = "arm64" ] && echo "aarch64" || echo "$ARCH" ; } ) \
76+ && curl -fsSL https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-${ARCH}.rpm -o /tmp/cloudflared.rpm \
7677 && dnf install -y \
7778 /tmp/cloudflared.rpm \
7879 && dnf clean all \
Original file line number Diff line number Diff line change @@ -70,7 +70,8 @@ RUN dnf config-manager --add-repo https://pkgs.tailscale.com/stable/centos/9/tai
7070 && systemctl enable tailscaled
7171
7272# restore cloudflared install
73- RUN curl -fsSL https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-${ARCH}.rpm -o /tmp/cloudflared.rpm \
73+ RUN ARCH=$( [ "$ARCH" = "amd64" ] && echo "x86_64" || { [ "$ARCH" = "arm64" ] && echo "aarch64" || echo "$ARCH" ; } ) \
74+ && curl -fsSL https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-${ARCH}.rpm -o /tmp/cloudflared.rpm \
7475 && dnf install -y \
7576 /tmp/cloudflared.rpm \
7677 && dnf clean all \
Original file line number Diff line number Diff line change @@ -67,7 +67,8 @@ RUN dnf config-manager addrepo --from-repofile=https://pkgs.tailscale.com/stable
6767 && systemctl enable tailscaled
6868
6969# restore cloudflared install
70- RUN curl -fsSL https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-${ARCH}.rpm -o /tmp/cloudflared.rpm \
70+ RUN ARCH=$( [ "$ARCH" = "amd64" ] && echo "x86_64" || { [ "$ARCH" = "arm64" ] && echo "aarch64" || echo "$ARCH" ; } ) \
71+ && curl -fsSL https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-${ARCH}.rpm -o /tmp/cloudflared.rpm \
7172 && dnf install -y \
7273 /tmp/cloudflared.rpm \
7374 && dnf clean all \
Original file line number Diff line number Diff line change @@ -69,7 +69,8 @@ RUN dnf config-manager addrepo --from-repofile=https://pkgs.tailscale.com/stable
6969 && systemctl enable tailscaled
7070
7171# restore cloudflared install
72- RUN curl -fsSL https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-${ARCH}.rpm -o /tmp/cloudflared.rpm \
72+ RUN ARCH=$( [ "$ARCH" = "amd64" ] && echo "x86_64" || { [ "$ARCH" = "arm64" ] && echo "aarch64" || echo "$ARCH" ; } ) \
73+ && curl -fsSL https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-${ARCH}.rpm -o /tmp/cloudflared.rpm \
7374 && dnf install -y \
7475 /tmp/cloudflared.rpm \
7576 && dnf clean all \
Original file line number Diff line number Diff line change @@ -73,7 +73,8 @@ RUN dnf config-manager --add-repo https://pkgs.tailscale.com/stable/rhel/9/tails
7373 && systemctl enable tailscaled
7474
7575# restore cloudflared install
76- RUN curl -fsSL https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-${ARCH}.rpm -o /tmp/cloudflared.rpm \
76+ RUN ARCH=$( [ "$ARCH" = "amd64" ] && echo "x86_64" || { [ "$ARCH" = "arm64" ] && echo "aarch64" || echo "$ARCH" ; } ) \
77+ && curl -fsSL https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-${ARCH}.rpm -o /tmp/cloudflared.rpm \
7778 && dnf install -y \
7879 /tmp/cloudflared.rpm \
7980 && dnf clean all \
You can’t perform that action at this time.
0 commit comments