diff --git a/ssh-bridge/Dockerfile b/ssh-bridge/Dockerfile index bc60857..2d8e3e7 100644 --- a/ssh-bridge/Dockerfile +++ b/ssh-bridge/Dockerfile @@ -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. diff --git a/ssh-bridge/config.yaml b/ssh-bridge/config.yaml index 9d05174..22e3945 100644 --- a/ssh-bridge/config.yaml +++ b/ssh-bridge/config.yaml @@ -1,5 +1,5 @@ name: "SSH Bridge (Tailscale)" -version: "1.1.2" +version: "1.2.0" slug: "ssh_bridge" description: "Contained tailscale+sshd fleet relay: jump host, SOCKS, tailnet DNS, persistent home, crond, git-over-ssh. Runs in its own network namespace; Home Assistant and the host itself do NOT join the tailnet." url: "https://git.halfast.com/hermes/ha-addons"