From 03bc0843a2e160b57da398fda45d4cc97a47508c Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Tue, 21 Feb 2023 21:30:46 +0100 Subject: [PATCH] [bitnami/ghost] Release 5.35.1-debian-11-r0 (#24853) Signed-off-by: Bitnami Containers --- bitnami/ghost/5/debian-11/Dockerfile | 10 +++--- .../opt/bitnami/.bitnami_components.json | 4 +-- .../opt/bitnami/scripts/libservice.sh | 33 +++++++++---------- bitnami/ghost/5/debian-11/tags-info.yaml | 2 +- 4 files changed, 24 insertions(+), 25 deletions(-) diff --git a/bitnami/ghost/5/debian-11/Dockerfile b/bitnami/ghost/5/debian-11/Dockerfile index b931608d19e2..400cdb9b3af6 100644 --- a/bitnami/ghost/5/debian-11/Dockerfile +++ b/bitnami/ghost/5/debian-11/Dockerfile @@ -3,13 +3,13 @@ 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:21:53Z" \ + org.opencontainers.image.created="2023-02-21T19:49:12Z" \ org.opencontainers.image.description="Application packaged by VMware, Inc" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="5.35.0-debian-11-r1" \ + org.opencontainers.image.ref.name="5.35.1-debian-11-r0" \ org.opencontainers.image.title="ghost" \ org.opencontainers.image.vendor="VMware, Inc." \ - org.opencontainers.image.version="5.35.0" + org.opencontainers.image.version="5.35.1" ENV HOME="/" \ OS_ARCH="${TARGETARCH:-amd64}" \ @@ -26,7 +26,7 @@ RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ "node-16.19.1-1-linux-${OS_ARCH}-debian-11" \ "mysql-client-10.6.12-1-linux-${OS_ARCH}-debian-11" \ "gosu-1.16.0-2-linux-${OS_ARCH}-debian-11" \ - "ghost-5.35.0-0-linux-${OS_ARCH}-debian-11" \ + "ghost-5.35.1-0-linux-${OS_ARCH}-debian-11" \ ) && \ for COMPONENT in "${COMPONENTS[@]}"; do \ if [ ! -f "${COMPONENT}.tar.gz" ]; then \ @@ -44,7 +44,7 @@ RUN chmod g+rwX /opt/bitnami COPY rootfs / RUN /opt/bitnami/scripts/ghost/postunpack.sh RUN /opt/bitnami/scripts/mysql-client/postunpack.sh -ENV APP_VERSION="5.35.0" \ +ENV APP_VERSION="5.35.1" \ BITNAMI_APP_NAME="ghost" \ PATH="/opt/bitnami/python/bin:/opt/bitnami/node/bin:/opt/bitnami/mysql/bin:/opt/bitnami/common/bin:/opt/bitnami/ghost/bin:$PATH" diff --git a/bitnami/ghost/5/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/ghost/5/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json index 1b773ea6b1a3..82a5df8d6bf4 100644 --- a/bitnami/ghost/5/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/ghost/5/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json @@ -1,10 +1,10 @@ { "ghost": { "arch": "amd64", - "digest": "94d3737984541ea4093ef4a1ed84ca924230655efa6f22a663ec2b5a891c81ef", + "digest": "b13d1a00efe9586d10660638c1c7df81c53960b3d12278e34a144f4045e12509", "distro": "debian-11", "type": "NAMI", - "version": "5.35.0-0" + "version": "5.35.1-0" }, "gosu": { "arch": "amd64", diff --git a/bitnami/ghost/5/debian-11/prebuildfs/opt/bitnami/scripts/libservice.sh b/bitnami/ghost/5/debian-11/prebuildfs/opt/bitnami/scripts/libservice.sh index f964ab09fcba..af64e198ad2d 100644 --- a/bitnami/ghost/5/debian-11/prebuildfs/opt/bitnami/scripts/libservice.sh +++ b/bitnami/ghost/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" <