This commit is contained in:
Tim
2025-11-13 12:59:09 +01:00

View File

@@ -62,21 +62,17 @@ RUN printf "\033[38;2;107;114;128mTipp: \033[0m\033[37m…\033[0m\n" >> /guide/c
RUN printf "\n" >> /guide/crime1.txt
RUN printf "\e[37m↚ ↜ ↞ ↤ ↫ ↭ ↬ ↦ ↣ ↝ ↛ ↮ ↛ ↝ ↣ ↦ ↬ ↭ ↫ ↤ ↞ ↜ ↚\e[0m\n" >> /guide/crime1.txt
RUN echo "crime2" > /guide/crime2.txt
RUN echo 'if [ -f "/guide/$(whoami).txt" ]; then cat "/guide/$(whoami).txt"; fi' >> /etc/bash.bashrc
COPY motd /etc/motd
RUN echo 'export PS1="\u@$(hostname):\\$ "' >> /etc/profile
EXPOSE 22
CMD ["sh", "-c", "echo escape-room > /etc/hostname && /usr/sbin/sshd -D"]
CMD ["sh", "-c", "echo escape-room > /etc/hostname && exec bash"]
CMD ["/usr/sbin/sshd","-D"]