From 6f029d4d58b916da45a8de76360222ac6e77adeb Mon Sep 17 00:00:00 2001 From: jerome Date: Mon, 13 Oct 2025 22:01:46 +0200 Subject: initial commit --- Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..5f5bc62 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM python:slim +RUN apt-get update && apt-get install -y openssh-server +RUN sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config +RUN echo "python" >> /root/.bashrc +RUN echo "exit" >> /root/.bashrc +COPY entrypoint.sh /usr/local/sbin/ +EXPOSE 22 +ENTRYPOINT ["entrypoint.sh"] -- cgit v1.2.3