From f3893170c0c4c236f28e399bb16ea76c8127c437 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Wed, 7 Sep 2022 02:55:40 +0200 Subject: [PATCH] [bitnami/haproxy] Release 2.6.5-debian-11-r1 (#5360) Signed-off-by: Bitnami Containers Signed-off-by: Bitnami Containers --- bitnami/haproxy/2/debian-11/Dockerfile | 35 +++++++++++++++----------- bitnami/haproxy/README.md | 2 +- 2 files changed, 21 insertions(+), 16 deletions(-) diff --git a/bitnami/haproxy/2/debian-11/Dockerfile b/bitnami/haproxy/2/debian-11/Dockerfile index 260095fa184b..058fccfeba37 100644 --- a/bitnami/haproxy/2/debian-11/Dockerfile +++ b/bitnami/haproxy/2/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="2.6.5-debian-11-r0" \ + org.opencontainers.image.ref.name="2.6.5-debian-11-r1" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/haproxy" \ org.opencontainers.image.title="haproxy" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="2.6.5" +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 ca-certificates curl gzip libc6 libssl1.1 procps tar RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ - if [ ! -f haproxy-dataplaneapi-2.6.0-2-linux-amd64-debian-11.tar.gz ]; then \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/haproxy-dataplaneapi-2.6.0-2-linux-amd64-debian-11.tar.gz -O ; \ + if [ ! -f haproxy-dataplaneapi-2.6.0-2-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/haproxy-dataplaneapi-2.6.0-2-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/haproxy-dataplaneapi-2.6.0-2-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ fi && \ - echo "22519edc1bfeef288ad7665f2b9ff6dc9c2a9820f53ebf800aea2aa64e8f58f4 haproxy-dataplaneapi-2.6.0-2-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \ - tar -zxf haproxy-dataplaneapi-2.6.0-2-linux-amd64-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ - rm -rf haproxy-dataplaneapi-2.6.0-2-linux-amd64-debian-11.tar.gz + sha256sum -c haproxy-dataplaneapi-2.6.0-2-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ + tar -zxf haproxy-dataplaneapi-2.6.0-2-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ + rm -rf haproxy-dataplaneapi-2.6.0-2-linux-${OS_ARCH}-debian-11.tar.gz RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ - if [ ! -f haproxy-2.6.5-0-linux-amd64-debian-11.tar.gz ]; then \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/haproxy-2.6.5-0-linux-amd64-debian-11.tar.gz -O ; \ + if [ ! -f haproxy-2.6.5-0-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/haproxy-2.6.5-0-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/haproxy-2.6.5-0-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ fi && \ - echo "ca52f990cda30b0c6a80ba9b4320b08b6cba48ba6a34ca49d2ba4419ddf640d8 haproxy-2.6.5-0-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \ - tar -zxf haproxy-2.6.5-0-linux-amd64-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ - rm -rf haproxy-2.6.5-0-linux-amd64-debian-11.tar.gz + sha256sum -c haproxy-2.6.5-0-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ + tar -zxf haproxy-2.6.5-0-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ + rm -rf haproxy-2.6.5-0-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/haproxy/README.md b/bitnami/haproxy/README.md index dda054d45dd9..7143fb37421b 100644 --- a/bitnami/haproxy/README.md +++ b/bitnami/haproxy/README.md @@ -28,7 +28,7 @@ $ docker run --name haproxy bitnami/haproxy: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/). -* [`2`, `2-debian-11`, `2.6.5`, `2.6.5-debian-11-r0`, `latest` (2/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/haproxy/2/debian-11/Dockerfile) +* [`2`, `2-debian-11`, `2.6.5`, `2.6.5-debian-11-r1`, `latest` (2/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/haproxy/2/debian-11/Dockerfile) Subscribe to project updates by watching the [bitnami/containers GitHub repo](https://github.com/bitnami/containers).