Skip to content

Commit cc7ca22

Browse files
committed
docker-entrypoint.sh: Use a portable source command.
1 parent 9897369 commit cc7ca22

File tree

11 files changed

+11
-11
lines changed

11 files changed

+11
-11
lines changed

entrypoint/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then
1919
*.envsh)
2020
if [ -x "$f" ]; then
2121
entrypoint_log "$0: Sourcing $f";
22-
source "$f"
22+
. "$f"
2323
else
2424
# warn on shell scripts without exec bit
2525
entrypoint_log "$0: Ignoring $f, not executable";

mainline/alpine-perl/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then
1919
*.envsh)
2020
if [ -x "$f" ]; then
2121
entrypoint_log "$0: Sourcing $f";
22-
source "$f"
22+
. "$f"
2323
else
2424
# warn on shell scripts without exec bit
2525
entrypoint_log "$0: Ignoring $f, not executable";

mainline/alpine-slim/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then
1919
*.envsh)
2020
if [ -x "$f" ]; then
2121
entrypoint_log "$0: Sourcing $f";
22-
source "$f"
22+
. "$f"
2323
else
2424
# warn on shell scripts without exec bit
2525
entrypoint_log "$0: Ignoring $f, not executable";

mainline/alpine/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then
1919
*.envsh)
2020
if [ -x "$f" ]; then
2121
entrypoint_log "$0: Sourcing $f";
22-
source "$f"
22+
. "$f"
2323
else
2424
# warn on shell scripts without exec bit
2525
entrypoint_log "$0: Ignoring $f, not executable";

mainline/debian-perl/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then
1919
*.envsh)
2020
if [ -x "$f" ]; then
2121
entrypoint_log "$0: Sourcing $f";
22-
source "$f"
22+
. "$f"
2323
else
2424
# warn on shell scripts without exec bit
2525
entrypoint_log "$0: Ignoring $f, not executable";

mainline/debian/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then
1919
*.envsh)
2020
if [ -x "$f" ]; then
2121
entrypoint_log "$0: Sourcing $f";
22-
source "$f"
22+
. "$f"
2323
else
2424
# warn on shell scripts without exec bit
2525
entrypoint_log "$0: Ignoring $f, not executable";

stable/alpine-perl/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then
1919
*.envsh)
2020
if [ -x "$f" ]; then
2121
entrypoint_log "$0: Sourcing $f";
22-
source "$f"
22+
. "$f"
2323
else
2424
# warn on shell scripts without exec bit
2525
entrypoint_log "$0: Ignoring $f, not executable";

stable/alpine-slim/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then
1919
*.envsh)
2020
if [ -x "$f" ]; then
2121
entrypoint_log "$0: Sourcing $f";
22-
source "$f"
22+
. "$f"
2323
else
2424
# warn on shell scripts without exec bit
2525
entrypoint_log "$0: Ignoring $f, not executable";

stable/alpine/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then
1919
*.envsh)
2020
if [ -x "$f" ]; then
2121
entrypoint_log "$0: Sourcing $f";
22-
source "$f"
22+
. "$f"
2323
else
2424
# warn on shell scripts without exec bit
2525
entrypoint_log "$0: Ignoring $f, not executable";

stable/debian-perl/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then
1919
*.envsh)
2020
if [ -x "$f" ]; then
2121
entrypoint_log "$0: Sourcing $f";
22-
source "$f"
22+
. "$f"
2323
else
2424
# warn on shell scripts without exec bit
2525
entrypoint_log "$0: Ignoring $f, not executable";

stable/debian/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then
1919
*.envsh)
2020
if [ -x "$f" ]; then
2121
entrypoint_log "$0: Sourcing $f";
22-
source "$f"
22+
. "$f"
2323
else
2424
# warn on shell scripts without exec bit
2525
entrypoint_log "$0: Ignoring $f, not executable";

0 commit comments

Comments
 (0)