FROM debian:bookworm-slim COPY create_users.sh /create_users.sh COPY start_sshd.sh /start_sshd.sh COPY supervisord.conf /etc/supervisord.conf RUN apt-get update && \ apt-get -y upgrade && \ apt-get -y --purge autoremove && \ apt-get -y install wget python3 python3-venv irssi neomutt ssh supervisor tmux vim && \ apt-get -y clean && \ touch /var/log/supervisord.log && \ mkdir /var/run/sshd && \ chmod a+x /*.sh EXPOSE 22/tcp VOLUME ["/etc/ssh", "/home", "/var/log"] CMD ["/usr/bin/supervisord", "-c", "/etc/supervisord.conf"]