11 lines
No EOL
171 B
Bash
11 lines
No EOL
171 B
Bash
#!/bin/bash
|
|
|
|
for file in /docker-entrypoint.d/*; do
|
|
if [ -x "$file" ]; then
|
|
echo "Running $file"
|
|
"$file"
|
|
else
|
|
echo "Sourcing $file"
|
|
. "$file"
|
|
fi
|
|
done |