diff --git a/bitnami/contour/1.20/debian-11/Dockerfile b/bitnami/contour/1.20/debian-11/Dockerfile index bc1a6a88464e..af99599e7499 100644 --- a/bitnami/contour/1.20/debian-11/Dockerfile +++ b/bitnami/contour/1.20/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.20.2-debian-11-r40" \ + org.opencontainers.image.ref.name="1.20.2-debian-11-r42" \ 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,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 contour-1.20.2-3-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/contour-1.20.2-3-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/contour-1.20.2-3-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ - fi && \ - sha256sum -c contour-1.20.2-3-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ - tar -zxf contour-1.20.2-3-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ - rm -rf contour-1.20.2-3-linux-${OS_ARCH}-debian-11.tar.gz contour-1.20.2-3-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -RUN apt-get update && apt-get upgrade -y && \ + COMPONENTS=( \ + "contour-1.20.2-4-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 ln -s /opt/bitnami/contour/bin/contour /bin/contour diff --git a/bitnami/contour/1.20/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/contour/1.20/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json index b9d1c968cc50..0cea05aa9a43 100644 --- a/bitnami/contour/1.20/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/contour/1.20/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json @@ -1,9 +1,9 @@ { "contour": { "arch": "amd64", - "digest": "14b71a21033b0df70f3a1827d8749977d45cccf46778afd5de60da31fb4c8f0f", + "digest": "c4525e39bd49e102163eba43a229dd70aa570d9c01bf7df395dc5d9259288ceb", "distro": "debian-11", "type": "NAMI", - "version": "1.20.2-3" + "version": "1.20.2-4" } } \ No newline at end of file