From 8ab010abb447d92bec51d7efe4cb96e7d1bbeeab Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Thu, 6 Oct 2022 14:38:52 +0200 Subject: [PATCH] [bitnami/kapacitor] Release 1.6.5-debian-11-r15 (#9134) Signed-off-by: Bitnami Containers Signed-off-by: Bitnami Containers --- bitnami/kapacitor/1/debian-11/Dockerfile | 24 +++++++++++++++--------- bitnami/kapacitor/README.md | 2 +- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/bitnami/kapacitor/1/debian-11/Dockerfile b/bitnami/kapacitor/1/debian-11/Dockerfile index d230450446b0..db01b032d88f 100644 --- a/bitnami/kapacitor/1/debian-11/Dockerfile +++ b/bitnami/kapacitor/1/debian-11/Dockerfile @@ -4,7 +4,7 @@ ARG TARGETARCH LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \ org.opencontainers.image.description="Application packaged by Bitnami" \ - org.opencontainers.image.ref.name="1.6.5-debian-11-r13" \ + org.opencontainers.image.ref.name="1.6.5-debian-11-r15" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/kapacitor" \ org.opencontainers.image.title="kapacitor" \ org.opencontainers.image.vendor="VMware, Inc." \ @@ -20,14 +20,20 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"] # Install required system packages and dependencies RUN install_packages ca-certificates curl procps RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ - if [ ! -f kapacitor-1.6.5-1-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/kapacitor-1.6.5-1-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/kapacitor-1.6.5-1-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ - fi && \ - sha256sum -c kapacitor-1.6.5-1-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ - tar -zxf kapacitor-1.6.5-1-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ - rm -rf kapacitor-1.6.5-1-linux-${OS_ARCH}-debian-11.tar.gz kapacitor-1.6.5-1-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -RUN apt-get update && apt-get upgrade -y && \ + COMPONENTS=( \ + "kapacitor-1.6.5-1-linux-${OS_ARCH}-debian-11" \ + ) && \ + for COMPONENT in "${COMPONENTS[@]}"; do \ + if [ ! -f "${COMPONENT}.tar.gz" ]; then \ + curl -SsLf "https://downloads.bitnami.com/files/stacksmith/${COMPONENT}.tar.gz" -O ; \ + curl -SsLf "https://downloads.bitnami.com/files/stacksmith/${COMPONENT}.tar.gz.sha256" -O ; \ + fi && \ + sha256sum -c "${COMPONENT}.tar.gz.sha256" && \ + tar -zxf "${COMPONENT}.tar.gz" -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ + rm -rf "${COMPONENT}.tar.gz{,sha256}" ; \ + done +RUN apt-get autoremove --purge -y curl && \ + apt-get update && apt-get upgrade -y && \ apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives RUN chmod g+rwX /opt/bitnami RUN mkdir -p /bitnami/kapacitor && chmod g+rwX /bitnami/kapacitor diff --git a/bitnami/kapacitor/README.md b/bitnami/kapacitor/README.md index 4193f6af8c0e..84ce40bd8f3f 100644 --- a/bitnami/kapacitor/README.md +++ b/bitnami/kapacitor/README.md @@ -26,7 +26,7 @@ $ docker run --name kapacitor bitnami/kapacitor:latest Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/). -* [`1`, `1-debian-11`, `1.6.5`, `1.6.5-debian-11-r13`, `latest` (1/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/kapacitor/1/debian-11/Dockerfile) +* [`1`, `1-debian-11`, `1.6.5`, `1.6.5-debian-11-r15`, `latest` (1/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/kapacitor/1/debian-11/Dockerfile) Subscribe to project updates by watching the [bitnami/containers GitHub repo](https://github.com/bitnami/containers).