`harpoon` has been renamed to `nami`
This commit is contained in:
parent
15e382ef59
commit
b192fb6a61
|
|
@ -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>
|
||||
|
||||
|
|
@ -23,4 +23,4 @@ EXPOSE 80 443
|
|||
|
||||
ENTRYPOINT ["/app-entrypoint.sh"]
|
||||
|
||||
CMD ["harpoon", "start", "--foreground", "apache"]
|
||||
CMD ["nami", "start", "--foreground", "apache"]
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
@ -26,7 +26,7 @@ export MOODLE_SITENAME=${MOODLE_SITENAME:-"New Site"}
|
|||
|
||||
|
||||
|
||||
if [[ "$1" == "harpoon" && "$2" == "start" ]] || [[ "$1" == "/init.sh" ]]; then
|
||||
if [[ "$1" == "nami" && "$2" == "start" ]] || [[ "$1" == "/init.sh" ]]; then
|
||||
for module in apache moodle; do
|
||||
initialize $module
|
||||
done
|
||||
|
|
|
|||
Loading…
Reference in New Issue