First basic setup commit
This commit is contained in:
commit
d601b9cf53
6 changed files with 180 additions and 0 deletions
21
docker-entrypoint.sh
Executable file
21
docker-entrypoint.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue