mirror of
https://github.com/bitnami/containers.git
synced 2026-03-15 14:58:17 +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>
|
MAINTAINER Bitnami <containers@bitnami.com>
|
||||||
|
|
||||||
ENV BITNAMI_IMAGE_VERSION=7.0.6-r1 \
|
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/ /
|
COPY rootfs/ /
|
||||||
ENTRYPOINT ["/app-entrypoint.sh"]
|
ENTRYPOINT ["/app-entrypoint.sh"]
|
||||||
CMD ["harpoon", "start", "--foreground", "php"]
|
CMD ["nami", "start", "--foreground", "php"]
|
||||||
|
|
||||||
VOLUME ["/bitnami/$BITNAMI_APP_NAME"]
|
VOLUME ["/bitnami/$BITNAMI_APP_NAME"]
|
||||||
|
|
||||||
|
|||||||
@@ -5,10 +5,10 @@ if [ -f composer.json ]; then
|
|||||||
composer install
|
composer install
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$1" == "harpoon" && "$2" == "start" ]]; then
|
if [[ "$1" == "nami" && "$2" == "start" ]]; then
|
||||||
status=`harpoon inspect php`
|
status=`nami inspect php`
|
||||||
if [[ "$status" == *'"lifecycle": "unpacked"'* ]]; then
|
if [[ "$status" == *'"lifecycle": "unpacked"'* ]]; then
|
||||||
harpoon initialize php
|
nami initialize php
|
||||||
fi
|
fi
|
||||||
chown -R :$BITNAMI_APP_USER /bitnami/$BITNAMI_APP_NAME || true
|
chown -R :$BITNAMI_APP_USER /bitnami/$BITNAMI_APP_NAME || true
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user