File tree Expand file tree Collapse file tree 11 files changed +99
-0
lines changed Expand file tree Collapse file tree 11 files changed +99
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,15 @@ if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then
16
16
echo >&3 " $0 : Looking for shell scripts in /docker-entrypoint.d/"
17
17
find " /docker-entrypoint.d/" -follow -type f -print | sort -V | while read -r f; do
18
18
case " $f " in
19
+ * .envsh)
20
+ if [ -x " $f " ]; then
21
+ echo >&3 " $0 : Sourcing $f " ;
22
+ source " $f "
23
+ else
24
+ # warn on shell scripts without exec bit
25
+ echo >&3 " $0 : Ignoring $f , not executable" ;
26
+ fi
27
+ ;;
19
28
* .sh)
20
29
if [ -x " $f " ]; then
21
30
echo >&3 " $0 : Launching $f " ;
Original file line number Diff line number Diff line change @@ -16,6 +16,15 @@ if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then
16
16
echo >&3 " $0 : Looking for shell scripts in /docker-entrypoint.d/"
17
17
find " /docker-entrypoint.d/" -follow -type f -print | sort -V | while read -r f; do
18
18
case " $f " in
19
+ * .envsh)
20
+ if [ -x " $f " ]; then
21
+ echo >&3 " $0 : Sourcing $f " ;
22
+ source " $f "
23
+ else
24
+ # warn on shell scripts without exec bit
25
+ echo >&3 " $0 : Ignoring $f , not executable" ;
26
+ fi
27
+ ;;
19
28
* .sh)
20
29
if [ -x " $f " ]; then
21
30
echo >&3 " $0 : Launching $f " ;
Original file line number Diff line number Diff line change @@ -16,6 +16,15 @@ if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then
16
16
echo >&3 " $0 : Looking for shell scripts in /docker-entrypoint.d/"
17
17
find " /docker-entrypoint.d/" -follow -type f -print | sort -V | while read -r f; do
18
18
case " $f " in
19
+ * .envsh)
20
+ if [ -x " $f " ]; then
21
+ echo >&3 " $0 : Sourcing $f " ;
22
+ source " $f "
23
+ else
24
+ # warn on shell scripts without exec bit
25
+ echo >&3 " $0 : Ignoring $f , not executable" ;
26
+ fi
27
+ ;;
19
28
* .sh)
20
29
if [ -x " $f " ]; then
21
30
echo >&3 " $0 : Launching $f " ;
Original file line number Diff line number Diff line change @@ -16,6 +16,15 @@ if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then
16
16
echo >&3 " $0 : Looking for shell scripts in /docker-entrypoint.d/"
17
17
find " /docker-entrypoint.d/" -follow -type f -print | sort -V | while read -r f; do
18
18
case " $f " in
19
+ * .envsh)
20
+ if [ -x " $f " ]; then
21
+ echo >&3 " $0 : Sourcing $f " ;
22
+ source " $f "
23
+ else
24
+ # warn on shell scripts without exec bit
25
+ echo >&3 " $0 : Ignoring $f , not executable" ;
26
+ fi
27
+ ;;
19
28
* .sh)
20
29
if [ -x " $f " ]; then
21
30
echo >&3 " $0 : Launching $f " ;
Original file line number Diff line number Diff line change @@ -16,6 +16,15 @@ if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then
16
16
echo >&3 " $0 : Looking for shell scripts in /docker-entrypoint.d/"
17
17
find " /docker-entrypoint.d/" -follow -type f -print | sort -V | while read -r f; do
18
18
case " $f " in
19
+ * .envsh)
20
+ if [ -x " $f " ]; then
21
+ echo >&3 " $0 : Sourcing $f " ;
22
+ source " $f "
23
+ else
24
+ # warn on shell scripts without exec bit
25
+ echo >&3 " $0 : Ignoring $f , not executable" ;
26
+ fi
27
+ ;;
19
28
* .sh)
20
29
if [ -x " $f " ]; then
21
30
echo >&3 " $0 : Launching $f " ;
Original file line number Diff line number Diff line change @@ -16,6 +16,15 @@ if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then
16
16
echo >&3 " $0 : Looking for shell scripts in /docker-entrypoint.d/"
17
17
find " /docker-entrypoint.d/" -follow -type f -print | sort -V | while read -r f; do
18
18
case " $f " in
19
+ * .envsh)
20
+ if [ -x " $f " ]; then
21
+ echo >&3 " $0 : Sourcing $f " ;
22
+ source " $f "
23
+ else
24
+ # warn on shell scripts without exec bit
25
+ echo >&3 " $0 : Ignoring $f , not executable" ;
26
+ fi
27
+ ;;
19
28
* .sh)
20
29
if [ -x " $f " ]; then
21
30
echo >&3 " $0 : Launching $f " ;
Original file line number Diff line number Diff line change @@ -16,6 +16,15 @@ if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then
16
16
echo >&3 " $0 : Looking for shell scripts in /docker-entrypoint.d/"
17
17
find " /docker-entrypoint.d/" -follow -type f -print | sort -V | while read -r f; do
18
18
case " $f " in
19
+ * .envsh)
20
+ if [ -x " $f " ]; then
21
+ echo >&3 " $0 : Sourcing $f " ;
22
+ source " $f "
23
+ else
24
+ # warn on shell scripts without exec bit
25
+ echo >&3 " $0 : Ignoring $f , not executable" ;
26
+ fi
27
+ ;;
19
28
* .sh)
20
29
if [ -x " $f " ]; then
21
30
echo >&3 " $0 : Launching $f " ;
Original file line number Diff line number Diff line change @@ -16,6 +16,15 @@ if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then
16
16
echo >&3 " $0 : Looking for shell scripts in /docker-entrypoint.d/"
17
17
find " /docker-entrypoint.d/" -follow -type f -print | sort -V | while read -r f; do
18
18
case " $f " in
19
+ * .envsh)
20
+ if [ -x " $f " ]; then
21
+ echo >&3 " $0 : Sourcing $f " ;
22
+ source " $f "
23
+ else
24
+ # warn on shell scripts without exec bit
25
+ echo >&3 " $0 : Ignoring $f , not executable" ;
26
+ fi
27
+ ;;
19
28
* .sh)
20
29
if [ -x " $f " ]; then
21
30
echo >&3 " $0 : Launching $f " ;
Original file line number Diff line number Diff line change @@ -16,6 +16,15 @@ if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then
16
16
echo >&3 " $0 : Looking for shell scripts in /docker-entrypoint.d/"
17
17
find " /docker-entrypoint.d/" -follow -type f -print | sort -V | while read -r f; do
18
18
case " $f " in
19
+ * .envsh)
20
+ if [ -x " $f " ]; then
21
+ echo >&3 " $0 : Sourcing $f " ;
22
+ source " $f "
23
+ else
24
+ # warn on shell scripts without exec bit
25
+ echo >&3 " $0 : Ignoring $f , not executable" ;
26
+ fi
27
+ ;;
19
28
* .sh)
20
29
if [ -x " $f " ]; then
21
30
echo >&3 " $0 : Launching $f " ;
Original file line number Diff line number Diff line change @@ -16,6 +16,15 @@ if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then
16
16
echo >&3 " $0 : Looking for shell scripts in /docker-entrypoint.d/"
17
17
find " /docker-entrypoint.d/" -follow -type f -print | sort -V | while read -r f; do
18
18
case " $f " in
19
+ * .envsh)
20
+ if [ -x " $f " ]; then
21
+ echo >&3 " $0 : Sourcing $f " ;
22
+ source " $f "
23
+ else
24
+ # warn on shell scripts without exec bit
25
+ echo >&3 " $0 : Ignoring $f , not executable" ;
26
+ fi
27
+ ;;
19
28
* .sh)
20
29
if [ -x " $f " ]; then
21
30
echo >&3 " $0 : Launching $f " ;
You can’t perform that action at this time.
0 commit comments