initial commit

This commit is contained in:
2023-10-28 16:02:35 +11:00
commit f6f75b3a00
5 changed files with 48 additions and 0 deletions

12
Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM ubuntu:22.04
RUN apt update && apt upgrade -y && \
apt install -y s6 openssh-server && \
rm /etc/ssh/ssh_host_* && mkdir -p /run/sshd && \
mkdir -p /etc/s6
ADD entry.sh /
COPY etc/s6 /etc/s6/
ENTRYPOINT [ "/bin/bash", "/entry.sh" ]
CMD [ "/usr/bin/s6-svscan", "/etc/s6" ]