mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-21 17:07:16 +00:00
* Use tini as the ENTRYPOINT implicitly Signed-off-by: Gergely Czuczy <gergely.czuczy@sap.com> * Explicitly call /bin/cp instead of relying on PATH Signed-off-by: Gergely Czuczy <gergely.czuczy@sap.com> * POSIX sh is sufficient for entrypoint.sh Signed-off-by: Gergely Czuczy <gergely.czuczy@sap.com> * Add 2.6-2.7 to docs indexes Signed-off-by: Gergely Czuczy <gergely.czuczy@sap.com> * Add note on tini on entry to 2.6-2.7 upgrade notes Signed-off-by: Gergely Czuczy <gergely.czuczy@sap.com> * Added note to 2.7-2.8 notes on tini as entry Signed-off-by: Gergely Czuczy <gergely.czuczy@sap.com> --------- Signed-off-by: Gergely Czuczy <gergely.czuczy@sap.com>
9 lines
203 B
Bash
Executable file
9 lines
203 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# If we're started as PID 1, we should wrap command execution through tini to
|
|
# prevent leakage of orphaned processes ("zombies").
|
|
if test "$$" = "1"; then
|
|
exec tini -- $@
|
|
else
|
|
exec "$@"
|
|
fi
|