From 736a0f6f60323dad7cff72f6ccb842e1980374d0 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Wed, 7 Sep 2022 11:39:41 +0200 Subject: [PATCH] [bitnami/openresty] Release 1.21.4-1-debian-11-r33 (#5439) Signed-off-by: Bitnami Containers Signed-off-by: Bitnami Containers --- bitnami/openresty/1.21/debian-11/Dockerfile | 35 ++++++++++++--------- bitnami/openresty/README.md | 2 +- 2 files changed, 21 insertions(+), 16 deletions(-) diff --git a/bitnami/openresty/1.21/debian-11/Dockerfile b/bitnami/openresty/1.21/debian-11/Dockerfile index 10d389f24c3a..d81f89471b9c 100644 --- a/bitnami/openresty/1.21/debian-11/Dockerfile +++ b/bitnami/openresty/1.21/debian-11/Dockerfile @@ -1,35 +1,40 @@ FROM docker.io/bitnami/minideb:bullseye -ENV HOME="/" \ - OS_ARCH="amd64" \ - OS_FLAVOUR="debian-11" \ - OS_NAME="linux" + +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-r32" \ + org.opencontainers.image.ref.name="1.21.4-1-debian-11-r33" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/openresty" \ org.opencontainers.image.title="openresty" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="1.21.4-1" +ENV HOME="/" \ + OS_ARCH="${TARGETARCH:-amd64}" \ + OS_FLAVOUR="debian-11" \ + OS_NAME="linux" + COPY prebuildfs / SHELL ["/bin/bash", "-o", "pipefail", "-c"] # Install required system packages and dependencies RUN install_packages acl ca-certificates curl gzip 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 tar zlib1g RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ - if [ ! -f openresty-1.21.4-1-153-linux-amd64-debian-11.tar.gz ]; then \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/openresty-1.21.4-1-153-linux-amd64-debian-11.tar.gz -O ; \ + 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 && \ - echo "fb5b90205cdd3cb1abaee568063c11fb062f439a641957b2d34e29f314116257 openresty-1.21.4-1-153-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \ - tar -zxf openresty-1.21.4-1-153-linux-amd64-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ - rm -rf openresty-1.21.4-1-153-linux-amd64-debian-11.tar.gz + 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 RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ - if [ ! -f gosu-1.14.0-154-linux-amd64-debian-11.tar.gz ]; then \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/gosu-1.14.0-154-linux-amd64-debian-11.tar.gz -O ; \ + 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 && \ - echo "e36c3d90f4fbfbe989f40947fa7c8ab817f12fcf97d3aef893c753a20ce976ab gosu-1.14.0-154-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \ - tar -zxf gosu-1.14.0-154-linux-amd64-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ - rm -rf gosu-1.14.0-154-linux-amd64-debian-11.tar.gz + 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 RUN apt-get update && apt-get upgrade -y && \ rm -r /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 b7d733cbf8b4..12deaff09afd 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-r32`, `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-r33`, `latest` (1.21/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/openresty/1.21/debian-11/Dockerfile) ## Get this image