diff --git a/bitnami/concourse/7/debian-11/Dockerfile b/bitnami/concourse/7/debian-11/Dockerfile index 1572a34bd90d..8471d5cdd6f3 100644 --- a/bitnami/concourse/7/debian-11/Dockerfile +++ b/bitnami/concourse/7/debian-11/Dockerfile @@ -1,27 +1,31 @@ FROM docker.io/bitnami/minideb:bullseye -ENV 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="7.8.2-debian-11-r16" \ + org.opencontainers.image.ref.name="7.8.2-debian-11-r17" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/concourse" \ org.opencontainers.image.title="concourse" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="7.8.2" +ENV 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 iproute2 iptables libc6 procps tar RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ - if [ ! -f concourse-7.8.2-2-linux-amd64-debian-11.tar.gz ]; then \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/concourse-7.8.2-2-linux-amd64-debian-11.tar.gz -O ; \ + if [ ! -f concourse-7.8.2-2-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/concourse-7.8.2-2-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/concourse-7.8.2-2-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ fi && \ - echo "f38343fbfd1fea1f83a4739f44d5ec82bae7ca2004244279676ecef2e97c85b7 concourse-7.8.2-2-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \ - tar -zxf concourse-7.8.2-2-linux-amd64-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ - rm -rf concourse-7.8.2-2-linux-amd64-debian-11.tar.gz + sha256sum -c concourse-7.8.2-2-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ + tar -zxf concourse-7.8.2-2-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ + rm -rf concourse-7.8.2-2-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 touch /.flyrc && chmod g+rwX /.flyrc diff --git a/bitnami/concourse/README.md b/bitnami/concourse/README.md index 752a96cc1876..709c50ee1566 100644 --- a/bitnami/concourse/README.md +++ b/bitnami/concourse/README.md @@ -41,7 +41,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/containers/how-to/understand-rolling-tags-containers/). -* [`7`, `7-debian-11`, `7.8.2`, `7.8.2-debian-11-r16`, `latest` (7/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/concourse/7/debian-11/Dockerfile) +* [`7`, `7-debian-11`, `7.8.2`, `7.8.2-debian-11-r17`, `latest` (7/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/concourse/7/debian-11/Dockerfile) Subscribe to project updates by watching the [bitnami/containers GitHub repo](https://github.com/bitnami/containers).