~elchenberg/docker-openssh-server

docker-openssh-server/Dockerfile -rw-r--r-- 541 bytes
b74d0089elchenberg initial commit 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM alpine:3.13
SHELL [ "/bin/ash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-o", "xtrace", "-c" ]
ENV OPENSSH_SERVER_VERSION=8.4_p1-r2 \
    OPENSSH_SERVER_PAM_VERSION=8.4_p1-r2 \
    RSYNC_VERSION=3.2.3-r1 \
    TINI_VERSION=0.19.0-r0
RUN apk add --no-cache \
    openssh-server="${OPENSSH_SERVER_VERSION:?}" \
    openssh-server-pam="${OPENSSH_SERVER_PAM_VERSION:?}" \
    rsync="${RSYNC_VERSION:?}" \
    tini="${TINI_VERSION:?}"
COPY rootfs /
ENTRYPOINT [ "tini", "--", "ash", "/etc/ssh/entrypoint.sh" ]
CMD [ "-D", "-e" ]