mirror of
https://github.com/bitnami/containers.git
synced 2026-03-21 15:29:05 +08:00
harpoon has been renamed to nami
This commit is contained in:
@@ -25,7 +25,7 @@ ENV PATH=/opt/bitnami/$BITNAMI_APP_NAME/sbin:/opt/bitnami/$BITNAMI_APP_NAME/bin:
|
|||||||
|
|
||||||
COPY rootfs/ /
|
COPY rootfs/ /
|
||||||
ENTRYPOINT ["/app-entrypoint.sh"]
|
ENTRYPOINT ["/app-entrypoint.sh"]
|
||||||
CMD ["harpoon", "start", "--foreground", "mariadb"]
|
CMD ["nami", "start", "--foreground", "mariadb"]
|
||||||
|
|
||||||
VOLUME ["/bitnami/$BITNAMI_APP_NAME"]
|
VOLUME ["/bitnami/$BITNAMI_APP_NAME"]
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
if [[ "$1" == "harpoon" && "$2" == "start" ]]; then
|
if [[ "$1" == "nami" && "$2" == "start" ]]; then
|
||||||
status=`harpoon inspect $BITNAMI_APP_NAME`
|
status=`nami inspect $BITNAMI_APP_NAME`
|
||||||
if [[ "$status" == *'"lifecycle": "unpacked"'* ]]; then
|
if [[ "$status" == *'"lifecycle": "unpacked"'* ]]; then
|
||||||
harpoon initialize $BITNAMI_APP_NAME \
|
nami initialize $BITNAMI_APP_NAME \
|
||||||
${MARIADB_ROOT_PASSWORD:+--rootPassword $MARIADB_ROOT_PASSWORD} \
|
${MARIADB_ROOT_PASSWORD:+--rootPassword $MARIADB_ROOT_PASSWORD} \
|
||||||
${MARIADB_USER:+--username $MARIADB_USER} \
|
${MARIADB_USER:+--username $MARIADB_USER} \
|
||||||
${MARIADB_PASSWORD:+--password $MARIADB_PASSWORD} \
|
${MARIADB_PASSWORD:+--password $MARIADB_PASSWORD} \
|
||||||
|
|||||||
Reference in New Issue
Block a user