mirror of
https://github.com/bitnami/containers.git
synced 2026-03-07 10:07:20 +08:00
handoff launch of command to baseimage /entrypoint.sh
This commit is contained in:
@@ -14,10 +14,7 @@ export MARIADB_PORT=${MARIADB_PORT:-"3306"}
|
||||
status=`harpoon inspect redmine`
|
||||
if [[ "$status" == *'"lifecycle": "unpacked"'* && "$1" == "harpoon" && "$2" == "start" ]]; then
|
||||
harpoon initialize redmine --inputs-file=/inputs.json
|
||||
/entrypoint.sh
|
||||
echo "Starting application..."
|
||||
else
|
||||
/entrypoint.sh
|
||||
fi
|
||||
|
||||
exec tini -- "$@"
|
||||
exec /entrypoint.sh "$@"
|
||||
|
||||
Reference in New Issue
Block a user