Change docker entry point script to allow additional commands (#403)

* Change docker entry point script to allow additional commands

* Delete Dockerfile
This commit is contained in:
Pascal Vizeli
2019-05-13 17:43:11 +02:00
committed by GitHub
parent d9c2347e7c
commit d347532c96
2 changed files with 7 additions and 26 deletions

View File

@@ -4,4 +4,10 @@ set -e
# Run dockerd
dockerd -s vfs &> /dev/null &
exec bash
if CMD="$(command -v "$1")"; then
shift
exec "$CMD" "$@"
else
echo "Command not found: $1"
exit 1
fi