13 lines
169 B
Bash
Executable file
13 lines
169 B
Bash
Executable file
#!/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 "$@"
|