From 30bca98cd4f0b0c4ecd7b6b3a7b0152f75a57436 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Thu, 8 Sep 2022 04:32:09 +0200 Subject: [PATCH] [bitnami/dotnet] Release 3.1.28-debian-11-r9 (#5544) Signed-off-by: Bitnami Containers Signed-off-by: Bitnami Containers --- bitnami/dotnet/3.1/debian-11/Dockerfile | 24 ++++++++++++++---------- bitnami/dotnet/README.md | 2 +- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/bitnami/dotnet/3.1/debian-11/Dockerfile b/bitnami/dotnet/3.1/debian-11/Dockerfile index 61012f0f80fd..0544f9a97028 100644 --- a/bitnami/dotnet/3.1/debian-11/Dockerfile +++ b/bitnami/dotnet/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.28-debian-11-r8" \ + org.opencontainers.image.ref.name="3.1.28-debian-11-r9" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/dotnet" \ org.opencontainers.image.title="dotnet" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="3.1.28" +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-3.1.28-1-linux-amd64-debian-11.tar.gz ]; then \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/dotnet-3.1.28-1-linux-amd64-debian-11.tar.gz -O ; \ + if [ ! -f dotnet-3.1.28-1-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/dotnet-3.1.28-1-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/dotnet-3.1.28-1-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ fi && \ - echo "c41346576e304c0848d08e3014ad73a1068e9536d896db2a3d4bba2f8d8227b6 dotnet-3.1.28-1-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \ - tar -zxf dotnet-3.1.28-1-linux-amd64-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ - rm -rf dotnet-3.1.28-1-linux-amd64-debian-11.tar.gz + sha256sum -c dotnet-3.1.28-1-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ + tar -zxf dotnet-3.1.28-1-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ + rm -rf dotnet-3.1.28-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/README.md b/bitnami/dotnet/README.md index d38e8d0639db..00438d53ae8c 100644 --- a/bitnami/dotnet/README.md +++ b/bitnami/dotnet/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.8`, `6.0.8-debian-11-r9`, `latest` (6/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/dotnet/6/debian-11/Dockerfile) -* [`3.1`, `3.1-debian-11`, `3.1.28`, `3.1.28-debian-11-r8` (3.1/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/dotnet/3.1/debian-11/Dockerfile) +* [`3.1`, `3.1-debian-11`, `3.1.28`, `3.1.28-debian-11-r9` (3.1/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/dotnet/3.1/debian-11/Dockerfile) Subscribe to project updates by watching the [bitnami/containers GitHub repo](https://github.com/bitnami/containers).