diff --git a/bitnami/contour/1.21/debian-11/Dockerfile b/bitnami/contour/1.21/debian-11/Dockerfile index 150461696817..14325f5c9442 100644 --- a/bitnami/contour/1.21/debian-11/Dockerfile +++ b/bitnami/contour/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.1-debian-11-r38" \ + org.opencontainers.image.ref.name="1.21.1-debian-11-r39" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/contour" \ org.opencontainers.image.title="contour" \ org.opencontainers.image.vendor="VMware, Inc." \ @@ -20,13 +20,18 @@ 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 contour-1.21.1-3-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/contour-1.21.1-3-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/contour-1.21.1-3-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ - fi && \ - sha256sum -c contour-1.21.1-3-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ - tar -zxf contour-1.21.1-3-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ - rm -rf contour-1.21.1-3-linux-${OS_ARCH}-debian-11.tar.gz contour-1.21.1-3-linux-${OS_ARCH}-debian-11.tar.gz.sha256 + COMPONENTS=( \ + "contour-1.21.1-3-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 diff --git a/bitnami/contour/README.md b/bitnami/contour/README.md index c6dbbe8e5049..0cf03f14e577 100644 --- a/bitnami/contour/README.md +++ b/bitnami/contour/README.md @@ -40,8 +40,8 @@ Learn more about the Bitnami tagging policy and the difference between rolling t * [`1.22`, `1.22-debian-11`, `1.22.1`, `1.22.1-debian-11-r10`, `latest` (1.22/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/contour/1.22/debian-11/Dockerfile) -* [`1.21`, `1.21-debian-11`, `1.21.1`, `1.21.1-debian-11-r38` (1.21/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/contour/1.21/debian-11/Dockerfile) -* [`1.20`, `1.20-debian-11`, `1.20.2`, `1.20.2-debian-11-r40` (1.20/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/contour/1.20/debian-11/Dockerfile) +* [`1.21`, `1.21-debian-11`, `1.21.1`, `1.21.1-debian-11-r39` (1.21/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/contour/1.21/debian-11/Dockerfile) +* [`1.20`, `1.20-debian-11`, `1.20.2`, `1.20.2-debian-11-r41` (1.20/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/contour/1.20/debian-11/Dockerfile) Subscribe to project updates by watching the [bitnami/containers GitHub repo](https://github.com/bitnami/containers).