mirror of
https://github.com/bitnami/containers.git
synced 2026-03-14 06:48:11 +08:00
Merge pull request #9 from sameersbn/entrypoint-handoff
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`
|
status=`harpoon inspect redmine`
|
||||||
if [[ "$status" == *'"lifecycle": "unpacked"'* && "$1" == "harpoon" && "$2" == "start" ]]; then
|
if [[ "$status" == *'"lifecycle": "unpacked"'* && "$1" == "harpoon" && "$2" == "start" ]]; then
|
||||||
harpoon initialize redmine --inputs-file=/inputs.json
|
harpoon initialize redmine --inputs-file=/inputs.json
|
||||||
/entrypoint.sh
|
|
||||||
echo "Starting application..."
|
echo "Starting application..."
|
||||||
else
|
|
||||||
/entrypoint.sh
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exec tini -- "$@"
|
exec /entrypoint.sh "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user