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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user