From 3df9147403ff52ba5055d3702c63c949a319f8a0 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Sat, 1 Apr 2023 15:01:33 +0200 Subject: [PATCH] [bitnami/kubeapps-dashboard] Release 2.6.4-debian-11-r7 (#28821) Signed-off-by: Bitnami Containers --- bitnami/kubeapps-dashboard/2/debian-11/Dockerfile | 12 ++++++------ .../prebuildfs/opt/bitnami/.bitnami_components.json | 8 ++++---- .../prebuildfs/opt/bitnami/scripts/libservice.sh | 12 +++++++++--- 3 files changed, 19 insertions(+), 13 deletions(-) diff --git a/bitnami/kubeapps-dashboard/2/debian-11/Dockerfile b/bitnami/kubeapps-dashboard/2/debian-11/Dockerfile index 0b0b9f0c7494..0e920346b361 100644 --- a/bitnami/kubeapps-dashboard/2/debian-11/Dockerfile +++ b/bitnami/kubeapps-dashboard/2/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-03-28T05:19:31Z" \ + org.opencontainers.image.created="2023-04-01T12:43:56Z" \ org.opencontainers.image.description="Application packaged by VMware, Inc" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="2.6.4-debian-11-r6" \ + org.opencontainers.image.ref.name="2.6.4-debian-11-r7" \ org.opencontainers.image.title="kubeapps-dashboard" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="2.6.4" @@ -21,10 +21,10 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"] RUN install_packages ca-certificates curl libcrypt1 libgeoip1 libpcre3 libssl1.1 procps zlib1g RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ COMPONENTS=( \ - "nginx-1.23.3-4-linux-${OS_ARCH}-debian-11" \ - "render-template-1.0.5-2-linux-${OS_ARCH}-debian-11" \ - "kubeapps-2.6.4-1-linux-${OS_ARCH}-debian-11" \ - "gosu-1.16.0-3-linux-${OS_ARCH}-debian-11" \ + "nginx-1.23.4-2-linux-${OS_ARCH}-debian-11" \ + "render-template-1.0.5-4-linux-${OS_ARCH}-debian-11" \ + "kubeapps-2.6.4-2-linux-${OS_ARCH}-debian-11" \ + "gosu-1.16.0-5-linux-${OS_ARCH}-debian-11" \ ) && \ for COMPONENT in "${COMPONENTS[@]}"; do \ if [ ! -f "${COMPONENT}.tar.gz" ]; then \ diff --git a/bitnami/kubeapps-dashboard/2/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/kubeapps-dashboard/2/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json index 6fdcb86781b8..395d41cee592 100644 --- a/bitnami/kubeapps-dashboard/2/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/kubeapps-dashboard/2/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json @@ -3,24 +3,24 @@ "arch": "amd64", "distro": "debian-11", "type": "NAMI", - "version": "1.16.0-3" + "version": "1.16.0-5" }, "kubeapps": { "arch": "amd64", "distro": "debian-11", "type": "NAMI", - "version": "2.6.4-1" + "version": "2.6.4-2" }, "nginx": { "arch": "amd64", "distro": "debian-11", "type": "NAMI", - "version": "1.23.3-4" + "version": "1.23.4-2" }, "render-template": { "arch": "amd64", "distro": "debian-11", "type": "NAMI", - "version": "1.0.5-2" + "version": "1.0.5-4" } } \ No newline at end of file diff --git a/bitnami/kubeapps-dashboard/2/debian-11/prebuildfs/opt/bitnami/scripts/libservice.sh b/bitnami/kubeapps-dashboard/2/debian-11/prebuildfs/opt/bitnami/scripts/libservice.sh index 6fcb304d34cc..d70cf0779ec8 100644 --- a/bitnami/kubeapps-dashboard/2/debian-11/prebuildfs/opt/bitnami/scripts/libservice.sh +++ b/bitnami/kubeapps-dashboard/2/debian-11/prebuildfs/opt/bitnami/scripts/libservice.sh @@ -279,7 +279,7 @@ remove_logrotate_conf() { # Flags: # --custom-service-content - Custom content to add to the [service] block # --environment - Environment variable to define (multiple --environment options may be passed) -# --environment-file - Text file with environment variables +# --environment-file - Text file with environment variables (multiple --environment-file options may be passed) # --exec-start - Start command (required) # --exec-start-pre - Pre-start command (optional) # --exec-start-post - Post-start command (optional) @@ -330,7 +330,6 @@ generate_systemd_conf() { | --type \ | --user \ | --group \ - | --environment-file \ | --exec-start \ | --exec-stop \ | --exec-reload \ @@ -368,6 +367,12 @@ generate_systemd_conf() { [[ -n "$environment" ]] && environment+=$'\n' environment+="Environment=${1:?"--environment value is missing"}" ;; + --environment-file) + shift + # It is possible to add multiple environment-file lines + [[ -n "$environment_file" ]] && environment_file+=$'\n' + environment_file+="EnvironmentFile=${1:?"--environment-file value is missing"}" + ;; *) echo "Invalid command line flag ${1}" >&2 return 1 @@ -435,7 +440,8 @@ EOF cat >> "$service_file" <<< "$environment" fi if [[ -n "$environment_file" ]]; then - cat >> "$service_file" <<< "EnvironmentFile=${environment_file}" + # This variable may contain multiple EnvironmentFile= directives + cat >> "$service_file" <<< "$environment_file" fi # Logging if [[ -n "$standard_output" ]]; then