ssh-bridge 1.2.0: tailscale from official pkgs.tailscale.com static release (1.104.7, ARG-pinned) instead of Alpine 3.22 frozen pkg (1.86.2)

This commit is contained in:
Hermes Sysadmin committed 2026-11-20 01:27:50 +00:00
1 parent 8fdd8b597a
commit cdc604dfca
2 files changed
+13 -2

No files matched your search

+12 -1
View File
@@ -1,6 +1,17 @@
FROM alpine:3.22
RUN apk add --no-cache openssh openssh-client tailscale bash git
# Tailscale from the official static release (pkgs.tailscale.com), pinned via
# TS_VERSION. Alpine 3.22's community package is frozen at 1.86.x (Jul 2025)
# and misses a year of fixes, incl. Tailscale SSH reliability fixes in
# 1.104.5+. To update: bump TS_VERSION and the add-on version together.
ARG TS_VERSION=1.104.7
RUN apk add --no-cache openssh openssh-client bash git ca-certificates wget \
&& wget -qO /tmp/ts.tgz "https://pkgs.tailscale.com/stable/tailscale_${TS_VERSION}_arm64.tgz" \
&& tar xzf /tmp/ts.tgz -C /opt \
&& mv "/opt/tailscale_${TS_VERSION}_arm64" /opt/tailscale \
&& ln -s /opt/tailscale/tailscaled /usr/local/bin/tailscaled \
&& ln -s /opt/tailscale/tailscale /usr/local/bin/tailscale \
&& rm /tmp/ts.tgz
# Low-privilege login account, key-only. bash shell for interactive jumps and
# fleet scripts; home lives on /data so it survives add-on updates/restarts.