Skip to content

Commit

Permalink
Add a lovely welcome message (motd style)
Browse files Browse the repository at this point in the history
  • Loading branch information
orzechow committed Nov 1, 2024
1 parent c4bdd48 commit b81b3bf
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
19 changes: 19 additions & 0 deletions demo/.motd
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash
echo -e "
\033[1;31m================================================.\033[0m
\033[1;31m ┓ • • ┓ \033[1;31m|
\033[1;32m ┏┓┏┓┣┓┓╋┏┓┏┓╋┓┏┓┏┓ ┏┓┏┓┏┓┏┓┣┓┏ \033[1;31m|
\033[1;34m ┗┻┛ ┗┛┗┗┛ ┗┻┗┗┗┛┛┗ ┗┫┛ ┗┻┣┛┛┗┛ \033[1;31m|
\033[1;33m ┛ ┛ \033[1;31m|
\033[1;31m================================================.\033[0m
\033[38;5;202m .-. \033[38;5;202m .-. \033[1;93m .--. \033[0m \033[1;31m|
\033[38;5;202m | OO| \033[38;5;202m | OO| \033[1;93m / _.-° \033[0m.-. .-. .-. .°°. \033[1;31m|
\033[38;5;202m | | \033[38;5;202m | | \033[1;93m \ °-, \033[0m°-° °-° °-° °..° \033[1;31m|
\033[38;5;202m °^^^° \033[38;5;202m °^^^° \033[1;93m °--° \033[0m \033[1;31m|
\033[1;31m===============. .================. \033[0m .-. \033[1;31m|
\033[1;31m | | | \033[0m °-° \033[1;31m|
\033[1;31m | | | \033[0m \033[1;31m|
\033[1;31m | | | \033[0m .-. \033[1;31m|
\033[1;31ml42 | | | \033[0m °-° \033[1;31m|
\033[1;31m===============° °================° \033[0m \033[1;31m|
\033[0m"
2 changes: 2 additions & 0 deletions demo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ RUN git clone https://github.com/KIT-MRT/EnTT-Pacman.git --branch arbitration_gr
rm -rf /tmp/EnTT-Pacman

USER blinky
COPY --chown=blinky:blinky .motd /home/blinky/.motd
RUN echo "\n\nsource /home/blinky/.motd" >> /home/blinky/.bashrc

WORKDIR /home/blinky/demo

Expand Down

0 comments on commit b81b3bf

Please sign in to comment.