From 575901fec620c660e053fa2b8abbb515cdf75226 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Wed, 22 Feb 2023 15:33:06 +0100 Subject: [PATCH] [bitnami/parse] Release 5.4.2-debian-11-r2 (#24895) Signed-off-by: Bitnami Containers --- bitnami/parse/5/debian-11/Dockerfile | 6 ++-- .../opt/bitnami/.bitnami_components.json | 2 +- .../opt/bitnami/scripts/libservice.sh | 33 +++++++++---------- bitnami/parse/README.md | 2 +- 4 files changed, 21 insertions(+), 22 deletions(-) diff --git a/bitnami/parse/5/debian-11/Dockerfile b/bitnami/parse/5/debian-11/Dockerfile index 7320723b0eb7..10394b98e8a6 100644 --- a/bitnami/parse/5/debian-11/Dockerfile +++ b/bitnami/parse/5/debian-11/Dockerfile @@ -3,10 +3,10 @@ FROM docker.io/bitnami/minideb:bullseye ARG TARGETARCH LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \ - org.opencontainers.image.created="2023-02-21T08:34:29Z" \ + org.opencontainers.image.created="2023-02-22T14:08:44Z" \ org.opencontainers.image.description="Application packaged by VMware, Inc" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="5.4.2-debian-11-r1" \ + org.opencontainers.image.ref.name="5.4.2-debian-11-r2" \ org.opencontainers.image.title="parse" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="5.4.2" @@ -25,7 +25,7 @@ RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ "python-3.8.16-5-linux-${OS_ARCH}-debian-11" \ "node-16.19.1-1-linux-${OS_ARCH}-debian-11" \ "mongodb-shell-1.7.1-1-linux-${OS_ARCH}-debian-11" \ - "parse-5.4.2-0-linux-${OS_ARCH}-debian-11" \ + "parse-5.4.2-1-linux-${OS_ARCH}-debian-11" \ "gosu-1.16.0-2-linux-${OS_ARCH}-debian-11" \ ) && \ for COMPONENT in "${COMPONENTS[@]}"; do \ diff --git a/bitnami/parse/5/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/parse/5/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json index 80ac5c66a534..c04db122843b 100644 --- a/bitnami/parse/5/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/parse/5/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json @@ -25,7 +25,7 @@ "digest": "58626a81731a5185e7c10caf2348521acb530e8a91548e1042e0bb161fa315fc", "distro": "debian-11", "type": "NAMI", - "version": "5.4.2-0" + "version": "5.4.2-1" }, "python": { "arch": "amd64", diff --git a/bitnami/parse/5/debian-11/prebuildfs/opt/bitnami/scripts/libservice.sh b/bitnami/parse/5/debian-11/prebuildfs/opt/bitnami/scripts/libservice.sh index f964ab09fcba..af64e198ad2d 100644 --- a/bitnami/parse/5/debian-11/prebuildfs/opt/bitnami/scripts/libservice.sh +++ b/bitnami/parse/5/debian-11/prebuildfs/opt/bitnami/scripts/libservice.sh @@ -305,6 +305,8 @@ generate_systemd_conf() { local exec_reload="" local restart="always" local pid_file="" + local standard_output="journal" + local standard_error="" # Parse CLI flags shift while [[ "$#" -gt 0 ]]; do @@ -318,6 +320,8 @@ generate_systemd_conf() { | --exec-reload \ | --restart \ | --pid-file \ + | --standard-output \ + | --standard-error \ ) var_name="$(echo "$1" | sed -e "s/^--//" -e "s/-/_/g")" shift @@ -362,36 +366,33 @@ ExecStart=${exec_start} EOF # Optional stop and reload commands if [[ -n "$exec_stop" ]]; then - cat >> "$service_file" <> "$service_file" <<< "ExecStop=${exec_stop}" fi if [[ -n "$exec_reload" ]]; then - cat >> "$service_file" <> "$service_file" <<< "ExecReload=${exec_reload}" fi # User and group if [[ -n "$user" ]]; then - cat >> "$service_file" <> "$service_file" <<< "User=${user}" fi if [[ -n "$group" ]]; then - cat >> "$service_file" <> "$service_file" <<< "Group=${group}" fi # PID file allows to determine if the main process is running properly (for Restart=always) if [[ -n "$pid_file" ]]; then - cat >> "$service_file" <> "$service_file" <<< "PIDFile=${pid_file}" fi # Environment flags (may be specified multiple times in a unit) if [[ -n "$environment" ]]; then cat >> "$service_file" <<< "$environment" fi + # Logging + if [[ -n "$standard_output" ]]; then + cat >> "$service_file" <<< "StandardOutput=${standard_output}" + fi + if [[ -n "$standard_error" ]]; then + cat >> "$service_file" <<< "StandardError=${standard_error}" + fi cat >> "$service_file" < +Bitnami provides up-to-date versions of Mongodb and Parse, including security patches, soon after they are made upstream. We recommend that you follow these steps to upgrade your container. We will cover here the upgrade of the Parse container. For the Mongodb upgrade see 1. Get the updated images: