From 5d4eafff74a71eb85826e28664001df1608bdf87 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Thu, 8 Sep 2022 12:27:39 +0200 Subject: [PATCH] [bitnami/dotnet-sdk] Release 3.1.422-debian-11-r9 (#5582) Signed-off-by: Bitnami Containers Signed-off-by: Bitnami Containers --- bitnami/dotnet-sdk/3.1/debian-11/Dockerfile | 24 ++++++++++++--------- bitnami/dotnet-sdk/README.md | 2 +- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/bitnami/dotnet-sdk/3.1/debian-11/Dockerfile b/bitnami/dotnet-sdk/3.1/debian-11/Dockerfile index 2ee51b2d29f2..522456dcefd2 100644 --- a/bitnami/dotnet-sdk/3.1/debian-11/Dockerfile +++ b/bitnami/dotnet-sdk/3.1/debian-11/Dockerfile @@ -1,28 +1,32 @@ FROM docker.io/bitnami/minideb:bullseye -ENV HOME="/app" \ - 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="3.1.422-debian-11-r8" \ + org.opencontainers.image.ref.name="3.1.422-debian-11-r9" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/dotnet-sdk" \ org.opencontainers.image.title="dotnet-sdk" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="3.1.422" +ENV HOME="/app" \ + 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 build-essential ca-certificates curl git gzip libbrotli1 libc6 libcap2-bin libcom-err2 libcurl4 libffi7 libgcc-s1 libgcrypt20 libgmp10 libgnutls30 libgpg-error0 libgssapi-krb5-2 libhogweed6 libicu-dev libidn2-0 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 liblttng-ust-dev libnettle8 libnghttp2-14 libp11-kit0 libpsl5 librtmp1 libsasl2-2 libsqlite3-dev libssh2-1 libssl-dev libssl1.1 libstdc++6 libtasn1-6 libunistring2 pkg-config procps tar unzip wget zlib1g RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ - if [ ! -f dotnet-sdk-3.1.422-1-linux-amd64-debian-11.tar.gz ]; then \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/dotnet-sdk-3.1.422-1-linux-amd64-debian-11.tar.gz -O ; \ + if [ ! -f dotnet-sdk-3.1.422-1-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/dotnet-sdk-3.1.422-1-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/dotnet-sdk-3.1.422-1-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ fi && \ - echo "5e54d61895fdaf45bb15afeadbe4e95dffea62190e1933c6ac4b660d98d3041b dotnet-sdk-3.1.422-1-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \ - tar -zxf dotnet-sdk-3.1.422-1-linux-amd64-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ - rm -rf dotnet-sdk-3.1.422-1-linux-amd64-debian-11.tar.gz + sha256sum -c dotnet-sdk-3.1.422-1-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ + tar -zxf dotnet-sdk-3.1.422-1-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ + rm -rf dotnet-sdk-3.1.422-1-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 sed -i 's/^PASS_MAX_DAYS.*/PASS_MAX_DAYS 90/' /etc/login.defs && \ diff --git a/bitnami/dotnet-sdk/README.md b/bitnami/dotnet-sdk/README.md index 5efdcd81ff25..64858828998b 100644 --- a/bitnami/dotnet-sdk/README.md +++ b/bitnami/dotnet-sdk/README.md @@ -36,7 +36,7 @@ Learn more about the Bitnami tagging policy and the difference between rolling t * [`6`, `6-debian-11`, `6.0.400`, `6.0.400-debian-11-r9`, `latest` (6/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/dotnet-sdk/6/debian-11/Dockerfile) -* [`3.1`, `3.1-debian-11`, `3.1.422`, `3.1.422-debian-11-r8` (3.1/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/dotnet-sdk/3.1/debian-11/Dockerfile) +* [`3.1`, `3.1-debian-11`, `3.1.422`, `3.1.422-debian-11-r9` (3.1/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/dotnet-sdk/3.1/debian-11/Dockerfile) Subscribe to project updates by watching the [bitnami/containers GitHub repo](https://github.com/bitnami/containers).