This commit is contained in:
Christer Warén
2025-06-21 02:56:13 +03:00
parent 605f8ce56f
commit 3cb0dac47e
8 changed files with 120 additions and 0 deletions

15
files/ssh/Dockerfile Normal file
View File

@ -0,0 +1,15 @@
FROM docker.io/library/debian
RUN apt update && \
apt install -y openssh-server rsync git
RUN rm -rf /etc/ssh/ssh_host* && \
mkdir -p /run/sshd
COPY entrypoint.sh /
RUN chmod +x entrypoint.sh
COPY sshd_config /etc/ssh/sshd_config
CMD ./entrypoint.sh