mirror of
https://github.com/bitnami/containers.git
synced 2026-03-18 15:27:52 +08:00
harpoon has been renamed to nami
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM gcr.io/stacksmith-images/ubuntu:14.04-r8
|
||||
FROM gcr.io/stacksmith-images/ubuntu:14.04-r9
|
||||
|
||||
MAINTAINER Bitnami <containers@bitnami.com>
|
||||
|
||||
@@ -24,4 +24,4 @@ EXPOSE 80 443
|
||||
|
||||
ENTRYPOINT ["/app-entrypoint.sh"]
|
||||
|
||||
CMD ["harpoon", "start", "--foreground", "apache"]
|
||||
CMD ["nami", "start", "--foreground", "apache"]
|
||||
|
||||
@@ -3,12 +3,12 @@ set -e
|
||||
|
||||
function initialize {
|
||||
# Package can be "installed" or "unpacked"
|
||||
status=`harpoon inspect $1`
|
||||
status=`nami inspect $1`
|
||||
if [[ "$status" == *'"lifecycle": "unpacked"'* ]]; then
|
||||
if [[ -f /$1-inputs.json ]]; then
|
||||
inputs=--inputs-file=/$1-inputs.json
|
||||
fi
|
||||
harpoon initialize $1 $inputs
|
||||
nami initialize $1 $inputs
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -24,8 +24,8 @@ export MARIADB_PORT=${MARIADB_PORT:-"3306"}
|
||||
|
||||
|
||||
|
||||
if [[ "$1" == "harpoon" && "$2" == "start" ]] || [[ "$1" == "/init.sh" ]]; then
|
||||
for module in php apache owncloud; do
|
||||
if [[ "$1" == "nami" && "$2" == "start" ]] || [[ "$1" == "/init.sh" ]]; then
|
||||
for module in apache owncloud; do
|
||||
initialize $module
|
||||
done
|
||||
echo "Starting application ..."
|
||||
|
||||
Reference in New Issue
Block a user