13 lines
287 B
Docker
13 lines
287 B
Docker
FROM alpine:3.22
|
|
|
|
RUN apk add --no-cache openssh tailscale
|
|
|
|
# Low-privilege login account; nologin shell — sessions exist only to forward.
|
|
RUN adduser -D -H -s /sbin/nologin bridge
|
|
|
|
COPY sshd_config /etc/ssh/sshd_config
|
|
COPY run.sh /run.sh
|
|
RUN chmod +x /run.sh
|
|
|
|
ENTRYPOINT ["/run.sh"]
|