From 572f8270411183b63b18fea5021f7fdd686ba7f5 Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Sun, 4 Sep 2016 22:24:42 +0530 Subject: [PATCH] `harpoon` has been renamed to `nami` --- bitnami/owncloud/Dockerfile | 4 ++-- bitnami/owncloud/rootfs/app-entrypoint.sh | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bitnami/owncloud/Dockerfile b/bitnami/owncloud/Dockerfile index dfc154f781ec..99982df3910d 100644 --- a/bitnami/owncloud/Dockerfile +++ b/bitnami/owncloud/Dockerfile @@ -1,4 +1,4 @@ -FROM gcr.io/stacksmith-images/ubuntu:14.04-r8 +FROM gcr.io/stacksmith-images/ubuntu:14.04-r9 MAINTAINER Bitnami @@ -24,4 +24,4 @@ EXPOSE 80 443 ENTRYPOINT ["/app-entrypoint.sh"] -CMD ["harpoon", "start", "--foreground", "apache"] +CMD ["nami", "start", "--foreground", "apache"] diff --git a/bitnami/owncloud/rootfs/app-entrypoint.sh b/bitnami/owncloud/rootfs/app-entrypoint.sh index 4a44a181590a..5612e35e8ff7 100755 --- a/bitnami/owncloud/rootfs/app-entrypoint.sh +++ b/bitnami/owncloud/rootfs/app-entrypoint.sh @@ -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 ..."