14 lines
169 B
Plaintext
14 lines
169 B
Plaintext
|
#!/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 "$@"
|