14 lines
169 B
Text
14 lines
169 B
Text
|
#!/bin/bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
if [[ -d "docker-entrypoint.d" ]]
|
||
|
then
|
||
|
echo "Running docker-entrypoint.d files"
|
||
|
/bin/run-parts docker-entrypoint.d
|
||
|
fi
|
||
|
|
||
|
echo "Running $@"
|
||
|
|
||
|
exec "$@"
|