First basic setup commit

This commit is contained in:
Torsten Raudssus 2024-10-03 03:16:49 +02:00
commit d601b9cf53
6 changed files with 180 additions and 0 deletions

21
docker-entrypoint.sh Executable file
View file

@ -0,0 +1,21 @@
#!/bin/bash
export IP=$( hostname -i )
cat <<EOF
__ _ _
___ _ ____ __/ / __ _ _| |_| |__ ___ _ __
/ __| '__\\ \\ / / / '_ \\| | | | __| '_ \\ / _ \\| '_ \\
\\__ \\ | \\ V / /| |_) | |_| | |_| | | | (_) | | | |
|___/_| \\_/_/ | .__/ \\__, |\\__|_| |_|\\___/|_| |_|
|_| |___/
----------------------------------------------------
IP: $IP
EOF
if [[ -z "$@" ]]; then
exec bash
else
exec $@
fi