harpoon has been renamed to nami

This commit is contained in:
Sameer Naik
2016-09-04 14:48:29 +05:30
parent 6c50d62fbd
commit 795f46af07
2 changed files with 5 additions and 5 deletions

View File

@@ -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>
ENV BITNAMI_IMAGE_VERSION=7.0.6-r1 \
@@ -11,7 +11,7 @@ ENV PATH=/opt/bitnami/php/sbin:/opt/bitnami/php/bin:/opt/bitnami/common/bin:$PAT
COPY rootfs/ /
ENTRYPOINT ["/app-entrypoint.sh"]
CMD ["harpoon", "start", "--foreground", "php"]
CMD ["nami", "start", "--foreground", "php"]
VOLUME ["/bitnami/$BITNAMI_APP_NAME"]

View File

@@ -5,10 +5,10 @@ if [ -f composer.json ]; then
composer install
fi
if [[ "$1" == "harpoon" && "$2" == "start" ]]; then
status=`harpoon inspect php`
if [[ "$1" == "nami" && "$2" == "start" ]]; then
status=`nami inspect php`
if [[ "$status" == *'"lifecycle": "unpacked"'* ]]; then
harpoon initialize php
nami initialize php
fi
chown -R :$BITNAMI_APP_USER /bitnami/$BITNAMI_APP_NAME || true
fi