mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-14 14:25:36 +01:00
280c8272f8
Use the exec Bash command so that the final running application becomes the container’s PID 1. This allows the application to receive any Unix signals sent to the container, in accordance with https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#entrypoint Currently, SIGTERM signals sent by kubernetes are not passed to the executed binary. Signed-off-by: Xavier Duthil <xavier.duthil@corp.ovh.com>
9 lines
100 B
Bash
9 lines
100 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
|
|
/home/chart/install_cert.sh
|
|
|
|
#Start the server process
|
|
exec /home/chart/chartm
|