mirror of
https://github.com/bitnami/containers.git
synced 2026-03-07 10:07:20 +08:00
harpoon has been renamed to nami
This commit is contained in:
@@ -21,4 +21,4 @@ EXPOSE 1337
|
||||
|
||||
ENTRYPOINT ["/app-entrypoint.sh"]
|
||||
|
||||
CMD ["harpoon", "start", "--foreground", "parse"]
|
||||
CMD ["nami", "start", "--foreground", "parse"]
|
||||
|
||||
@@ -3,14 +3,14 @@ set -e
|
||||
|
||||
function initialize {
|
||||
# Package can be "installed" or "unpacked"
|
||||
status=`harpoon inspect $1`
|
||||
status=`nami inspect $1`
|
||||
if [[ "$status" == *'"lifecycle": "unpacked"'* ]]; then
|
||||
# Clean up inputs
|
||||
inputs=""
|
||||
if [[ -f /$1-inputs.json ]]; then
|
||||
inputs=--inputs-file=/$1-inputs.json
|
||||
fi
|
||||
harpoon initialize $1 $inputs
|
||||
nami initialize $1 $inputs
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ export MONGODB_PORT=${MONGODB_PORT:-"27017"}
|
||||
|
||||
|
||||
|
||||
if [[ "$1" == "harpoon" && "$2" == "start" ]] || [[ "$1" == "/init.sh" ]]; then
|
||||
if [[ "$1" == "nami" && "$2" == "start" ]] || [[ "$1" == "/init.sh" ]]; then
|
||||
initialize parse
|
||||
echo "Starting application ..."
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user