Initial commit

This commit is contained in:
2024-07-02 13:09:46 +02:00
commit 11e0f786fe
15 changed files with 302 additions and 0 deletions

23
test/Dockerfile Normal file
View File

@ -0,0 +1,23 @@
# Simple SSH server for testing
FROM alpine:3.20
RUN <<EOF
apk --update add dropbear docker
adduser -D test
mkdir /home/test/.ssh
chown test:test /home/test/.ssh
EOF
COPY cert/domain.crt /usr/local/share/ca-certificates
RUN update-ca-certificates
COPY --chown=test:test test-container-files/authorized_keys /home/test/.ssh
# Non-standard ssh port
EXPOSE 22140
CMD ["dropbear", "-R", "-E", "-F", "-p", "22140"]