From a036cbf5c7c257b16d5a21429c1809901cb9d82f Mon Sep 17 00:00:00 2001 From: Quickbed Date: Thu, 13 Nov 2025 11:53:52 +0000 Subject: [PATCH] Dockerfile aktualisiert --- Dockerfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 50f2410..e02b687 100644 --- a/Dockerfile +++ b/Dockerfile @@ -62,18 +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"]