mirror of
https://github.com/argoproj/argo-cd.git
synced 2026-02-20 01:28:45 +01: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>
10 lines
203 B
Bash
Executable File
10 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
|