13 lines
168 B
Plaintext
13 lines
168 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 "$@"
|