Merge pull request #14383 from XavierDuthil/use-exec-in-entrypoints

Use exec in all components' entrypoints
This commit is contained in:
Qian Deng 2021-09-22 10:49:21 +08:00 committed by GitHub
commit 05bc946444
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 8 deletions

View File

@ -5,6 +5,4 @@ set -e
/home/chart/install_cert.sh
#Start the server process
/home/chart/chartm
set +e
exec /home/chart/chartm

View File

@ -4,4 +4,4 @@ set -e
/harbor/install_cert.sh
/harbor/harbor_core
exec /harbor/harbor_core

View File

@ -4,4 +4,4 @@ set -e
/harbor/install_cert.sh
/harbor/harbor_exporter
exec /harbor/harbor_exporter

View File

@ -4,4 +4,4 @@ set -e
/harbor/install_cert.sh
/harbor/harbor_jobservice -c /etc/jobservice/config.yml
exec /harbor/harbor_jobservice -c /etc/jobservice/config.yml

View File

@ -10,4 +10,4 @@ set -e
/home/harbor/install_cert.sh
/usr/bin/registry_DO_NOT_USE_GC serve /etc/registry/config.yml
exec /usr/bin/registry_DO_NOT_USE_GC serve /etc/registry/config.yml

View File

@ -4,4 +4,4 @@ set -e
/home/scanner/install_cert.sh
/home/scanner/bin/scanner-trivy
exec /home/scanner/bin/scanner-trivy