diff --git a/bitnami/parse/5/debian-12/Dockerfile b/bitnami/parse/5/debian-12/Dockerfile index 51df0d106b10..c26505ad9903 100644 --- a/bitnami/parse/5/debian-12/Dockerfile +++ b/bitnami/parse/5/debian-12/Dockerfile @@ -7,10 +7,10 @@ ARG TARGETARCH LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \ org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \ - org.opencontainers.image.created="2024-02-21T12:51:48Z" \ + org.opencontainers.image.created="2024-03-18T12:01:01Z" \ org.opencontainers.image.description="Application packaged by VMware, Inc" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="5.6.0-debian-12-r2" \ + org.opencontainers.image.ref.name="5.6.0-debian-12-r3" \ org.opencontainers.image.title="parse" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="5.6.0" @@ -26,9 +26,9 @@ SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"] RUN install_packages ca-certificates curl jq libbz2-1.0 libcom-err2 libcrypt1 libffi8 libgcc-s1 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblzma5 libncursesw6 libnsl2 libreadline8 libsqlite3-0 libssl3 libstdc++6 libtinfo6 libtirpc3 procps zlib1g RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \ COMPONENTS=( \ - "python-3.11.8-2-linux-${OS_ARCH}-debian-12" \ + "python-3.11.8-3-linux-${OS_ARCH}-debian-12" \ "node-18.19.1-0-linux-${OS_ARCH}-debian-12" \ - "mongodb-shell-2.1.5-0-linux-${OS_ARCH}-debian-12" \ + "mongodb-shell-2.2.0-0-linux-${OS_ARCH}-debian-12" \ "parse-5.6.0-2-linux-${OS_ARCH}-debian-12" \ ) ; \ for COMPONENT in "${COMPONENTS[@]}"; do \ diff --git a/bitnami/parse/5/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/parse/5/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json index b76c9aa3848f..657a668f6229 100644 --- a/bitnami/parse/5/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/parse/5/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json @@ -3,7 +3,7 @@ "arch": "amd64", "distro": "debian-12", "type": "NAMI", - "version": "2.1.5-0" + "version": "2.2.0-0" }, "node": { "arch": "amd64", @@ -21,6 +21,6 @@ "arch": "amd64", "distro": "debian-12", "type": "NAMI", - "version": "3.11.8-2" + "version": "3.11.8-3" } } \ No newline at end of file diff --git a/bitnami/parse/5/debian-12/prebuildfs/opt/bitnami/scripts/libbitnami.sh b/bitnami/parse/5/debian-12/prebuildfs/opt/bitnami/scripts/libbitnami.sh index 3853c789b2ea..aa782fc6a4db 100644 --- a/bitnami/parse/5/debian-12/prebuildfs/opt/bitnami/scripts/libbitnami.sh +++ b/bitnami/parse/5/debian-12/prebuildfs/opt/bitnami/scripts/libbitnami.sh @@ -48,6 +48,7 @@ print_image_welcome_page() { info "${BOLD}Welcome to the Bitnami ${BITNAMI_APP_NAME} container${RESET}" info "Subscribe to project updates by watching ${BOLD}${github_url}${RESET}" info "Submit issues and feature requests at ${BOLD}${github_url}/issues${RESET}" + info "Upgrade to Tanzu Application Catalog for production environments to access custom-configured and pre-packaged software components. Gain enhanced features, including Software Bill of Materials (SBOM), CVE scan result reports, and VEX documents. To learn more, visit ${BOLD}https://bitnami.com/enterprise${RESET}" info "" } diff --git a/bitnami/parse/5/debian-12/rootfs/opt/bitnami/scripts/libparse.sh b/bitnami/parse/5/debian-12/rootfs/opt/bitnami/scripts/libparse.sh index 1f2db3ff2c23..11acc1d02eca 100644 --- a/bitnami/parse/5/debian-12/rootfs/opt/bitnami/scripts/libparse.sh +++ b/bitnami/parse/5/debian-12/rootfs/opt/bitnami/scripts/libparse.sh @@ -101,7 +101,7 @@ parse_validate() { parse_initialize() { # In order to maintain backwards compatibility, we check if the config.json is mounted local -r persisted_conf_file="/bitnami/parse/config.json" - if ! [[ -f "$persisted_conf_file" ]]; then + if ! [[ -f "$persisted_conf_file" ]] || is_boolean_yes "$PARSE_FORCE_OVERWRITE_CONF_FILE"; then # Create configuration file. # Based on https://github.com/parse-community/parse-server/blob/master/bootstrap.sh info "Ensuring Parse directories exist" diff --git a/bitnami/parse/5/debian-12/rootfs/opt/bitnami/scripts/parse-env.sh b/bitnami/parse/5/debian-12/rootfs/opt/bitnami/scripts/parse-env.sh index bbc5c0918c5d..38ebc3ad2516 100644 --- a/bitnami/parse/5/debian-12/rootfs/opt/bitnami/scripts/parse-env.sh +++ b/bitnami/parse/5/debian-12/rootfs/opt/bitnami/scripts/parse-env.sh @@ -24,6 +24,7 @@ export BITNAMI_DEBUG="${BITNAMI_DEBUG:-false}" # By setting an environment variable matching *_FILE to a file path, the prefixed environment # variable will be overridden with the value specified in that file parse_env_vars=( + PARSE_FORCE_OVERWRITE_CONF_FILE PARSE_ENABLE_HTTPS PARSE_BIND_HOST PARSE_HOST @@ -68,6 +69,7 @@ export PARSE_PID_FILE="${PARSE_TMP_DIR}/parse.pid" export PARSE_LOG_FILE="${PARSE_LOGS_DIR}/parse.log" export PARSE_CONF_FILE="${PARSE_BASE_DIR}/config.json" export PATH="${BITNAMI_ROOT_DIR}/node/bin:${PATH}" +export PARSE_FORCE_OVERWRITE_CONF_FILE="${PARSE_FORCE_OVERWRITE_CONF_FILE:-no}" # Parse persistence configuration export PARSE_VOLUME_DIR="${BITNAMI_VOLUME_DIR}/parse" diff --git a/bitnami/parse/README.md b/bitnami/parse/README.md index 53569b60b783..732fdfbfc842 100644 --- a/bitnami/parse/README.md +++ b/bitnami/parse/README.md @@ -191,21 +191,22 @@ Bitnami provides up-to-date versions of Mongodb and Parse, including security pa #### Customizable environment variables -| Name | Description | Default Value | -|------------------------------|-----------------------------------------------|--------------------------------| -| `PARSE_ENABLE_HTTPS` | Whether to enable HTTPS for Parse by default. | `no` | -| `PARSE_BIND_HOST` | Parse bind host. | `0.0.0.0` | -| `PARSE_HOST` | Parse host. | `127.0.0.1` | -| `PARSE_PORT_NUMBER` | Port number in which Parse will run. | `1337` | -| `PARSE_APP_ID` | Parse app ID. | `myappID` | -| `PARSE_MASTER_KEY` | Parse master key. | `mymasterKey` | -| `PARSE_APP_NAME` | Parse app name. | `parse-server` | -| `PARSE_MOUNT_PATH` | Parse mount path. | `/parse` | -| `PARSE_ENABLE_CLOUD_CODE` | Enable Parse cloud code support. | `no` | -| `PARSE_DATABASE_HOST` | Database server host. | `$PARSE_DEFAULT_DATABASE_HOST` | -| `PARSE_DATABASE_PORT_NUMBER` | Database server port. | `27017` | -| `PARSE_DATABASE_NAME` | Database name. | `bitnami_parse` | -| `PARSE_DATABASE_USER` | Database user name. | `bn_parse` | +| Name | Description | Default Value | +|-----------------------------------|-----------------------------------------------|--------------------------------| +| `PARSE_FORCE_OVERWRITE_CONF_FILE` | Force the config.json config file generation. | `no` | +| `PARSE_ENABLE_HTTPS` | Whether to enable HTTPS for Parse by default. | `no` | +| `PARSE_BIND_HOST` | Parse bind host. | `0.0.0.0` | +| `PARSE_HOST` | Parse host. | `127.0.0.1` | +| `PARSE_PORT_NUMBER` | Port number in which Parse will run. | `1337` | +| `PARSE_APP_ID` | Parse app ID. | `myappID` | +| `PARSE_MASTER_KEY` | Parse master key. | `mymasterKey` | +| `PARSE_APP_NAME` | Parse app name. | `parse-server` | +| `PARSE_MOUNT_PATH` | Parse mount path. | `/parse` | +| `PARSE_ENABLE_CLOUD_CODE` | Enable Parse cloud code support. | `no` | +| `PARSE_DATABASE_HOST` | Database server host. | `$PARSE_DEFAULT_DATABASE_HOST` | +| `PARSE_DATABASE_PORT_NUMBER` | Database server port. | `27017` | +| `PARSE_DATABASE_NAME` | Database name. | `bitnami_parse` | +| `PARSE_DATABASE_USER` | Database user name. | `bn_parse` | #### Read-only environment variables