From 102cc187d067cd539a9f107a357738a392b589ee Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Thu, 6 Oct 2022 09:52:04 +0200 Subject: [PATCH] [bitnami/openresty] Release 1.21.4-1-debian-11-r43 (#8995) Signed-off-by: Bitnami Containers Signed-off-by: Bitnami Containers --- bitnami/openresty/1.21/debian-11/Dockerfile | 32 ++++++++++----------- bitnami/openresty/README.md | 2 +- 2 files changed, 16 insertions(+), 18 deletions(-) diff --git a/bitnami/openresty/1.21/debian-11/Dockerfile b/bitnami/openresty/1.21/debian-11/Dockerfile index ffa2f959c99a..aa43ce6f5c90 100644 --- a/bitnami/openresty/1.21/debian-11/Dockerfile +++ b/bitnami/openresty/1.21/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.21.4-1-debian-11-r42" \ + org.opencontainers.image.ref.name="1.21.4-1-debian-11-r43" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/openresty" \ org.opencontainers.image.title="openresty" \ org.opencontainers.image.vendor="VMware, Inc." \ @@ -20,22 +20,20 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"] # Install required system packages and dependencies RUN install_packages ca-certificates curl libbrotli1 libbsd0 libc6 libcrypt1 libdeflate0 libexpat1 libfontconfig1 libfreetype6 libgcc-s1 libgcrypt20 libgd3 libgeoip1 libgpg-error0 libicu67 libjbig0 libjpeg62-turbo liblzma5 libmd0 libpcre3 libpng16-16 libssl1.1 libstdc++6 libtiff5 libuuid1 libwebp6 libx11-6 libxau6 libxcb1 libxdmcp6 libxml2 libxpm4 libxslt1.1 libzstd1 perl procps zlib1g RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ - if [ ! -f openresty-1.21.4-1-153-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/openresty-1.21.4-1-153-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/openresty-1.21.4-1-153-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ - fi && \ - sha256sum -c openresty-1.21.4-1-153-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ - tar -zxf openresty-1.21.4-1-153-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ - rm -rf openresty-1.21.4-1-153-linux-${OS_ARCH}-debian-11.tar.gz openresty-1.21.4-1-153-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ - if [ ! -f gosu-1.14.0-154-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/gosu-1.14.0-154-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/gosu-1.14.0-154-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ - fi && \ - sha256sum -c gosu-1.14.0-154-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ - tar -zxf gosu-1.14.0-154-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ - rm -rf gosu-1.14.0-154-linux-${OS_ARCH}-debian-11.tar.gz gosu-1.14.0-154-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -RUN apt-get update && apt-get upgrade -y && \ + for COMPONENT in \ + "openresty-1.21.4-1-153-linux-${OS_ARCH}-debian-11" \ + "gosu-1.14.0-154-linux-${OS_ARCH}-debian-11" ; \ + 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 diff --git a/bitnami/openresty/README.md b/bitnami/openresty/README.md index f7f0155b0654..68b996e5e572 100644 --- a/bitnami/openresty/README.md +++ b/bitnami/openresty/README.md @@ -37,7 +37,7 @@ Non-root container images add an extra layer of security and are generally recom 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.21`, `1.21-debian-11`, `1.21.4-1`, `1.21.4-1-debian-11-r42`, `latest` (1.21/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/openresty/1.21/debian-11/Dockerfile) +* [`1.21`, `1.21-debian-11`, `1.21.4-1`, `1.21.4-1-debian-11-r43`, `latest` (1.21/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/openresty/1.21/debian-11/Dockerfile) ## Get this image