Dockerfile aktualisiert

This commit is contained in:
2025-11-17 09:07:21 +00:00
parent 571792690d
commit afb3008c89

View File

@@ -71,6 +71,23 @@ RUN echo "crime2" > /guide/crime2.txt
RUN echo 'if [ -f "/guide/$(whoami).txt" ]; then cat "/guide/$(whoami).txt"; fi' >> /etc/bash.bashrc
RUN mkdir -p /home/crime5
RUN chown -R crime5:crime5 /home/crime5
# Skript für Typanimation
COPY guide/crime5/typewrite.sh /usr/local/bin/typewrite.sh
RUN chmod +x /usr/local/bin/typewrite.sh
# Login-Hook für crime5
RUN echo 'if [ "$(whoami)" = "crime5" ]; then /usr/local/bin/typewrite.sh; fi' >> /home/crime5/.bashrc \
&& chown crime5:crime5 /home/crime5/.bashrc
RUN echo 'export PS1="\u@$(hostname):\\$ "' >> /etc/profile