Files
sish-client/Dockerfile
T
traberph dd1b847a05
build / image (push) Successful in 35s
cleanup
2026-09-27 09:52:12 +02:00

8 lines
385 B
Docker

FROM docker.io/library/alpine:3
RUN apk add --no-cache openssh-client tini
COPY --chmod=0755 entrypoint.sh /usr/local/bin/sish-client
# nobody: ssh needs a uid that exists in /etc/passwd, so keep runAsUser at 65534
USER 65534:65534
# tini reaps zombies and forwards SIGTERM to the whole process group (-g), incl. ssh
ENTRYPOINT ["/sbin/tini", "-g", "--", "/usr/local/bin/sish-client"]