FROM alpine:3.22 RUN apk add --no-cache openssh openssh-client tailscale bash git # 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. # -D leaves shadow "!" (locked) which OpenSSH rejects even for pubkey auth, # so unlock it; password auth stays off in sshd_config, empty field is inert. RUN adduser -D -s /bin/bash -h /data/home/bridge bridge && passwd -u bridge COPY sshd_config /etc/ssh/sshd_config COPY run.sh /run.sh RUN chmod +x /run.sh ENTRYPOINT ["/run.sh"]