diff --git a/bitnami/dotnet/3.1/debian-11/Dockerfile b/bitnami/dotnet/3.1/debian-11/Dockerfile index 3358f02eabeb..23388c8c98b3 100644 --- a/bitnami/dotnet/3.1/debian-11/Dockerfile +++ b/bitnami/dotnet/3.1/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="3.1.29-debian-11-r6" \ + org.opencontainers.image.ref.name="3.1.29-debian-11-r8" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/dotnet" \ org.opencontainers.image.title="dotnet" \ org.opencontainers.image.vendor="VMware, Inc." \ @@ -18,16 +18,22 @@ ENV HOME="/app" \ COPY prebuildfs / SHELL ["/bin/bash", "-o", "pipefail", "-c"] # Install required system packages and dependencies -RUN install_packages build-essential ca-certificates curl git 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 unzip wget zlib1g +RUN install_packages build-essential ca-certificates curl git libbrotli1 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 unzip wget zlib1g RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ - if [ ! -f dotnet-3.1.29-0-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/dotnet-3.1.29-0-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/dotnet-3.1.29-0-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ - fi && \ - sha256sum -c dotnet-3.1.29-0-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ - tar -zxf dotnet-3.1.29-0-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ - rm -rf dotnet-3.1.29-0-linux-${OS_ARCH}-debian-11.tar.gz dotnet-3.1.29-0-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -RUN apt-get update && apt-get upgrade -y && \ + COMPONENTS=( \ + "dotnet-3.1.29-1-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 sed -i 's/^PASS_MAX_DAYS.*/PASS_MAX_DAYS 90/' /etc/login.defs && \ sed -i 's/^PASS_MIN_DAYS.*/PASS_MIN_DAYS 0/' /etc/login.defs && \ diff --git a/bitnami/dotnet/3.1/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/dotnet/3.1/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json index 200556817622..c6ccd278cd0f 100644 --- a/bitnami/dotnet/3.1/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/dotnet/3.1/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json @@ -1,9 +1,9 @@ { "dotnet": { "arch": "amd64", - "digest": "66c710ee96ad547a83a7bd2cfe98d01a277f587baa1165c4e6a641c40b241df8", + "digest": "14ad90dc85d17bb05057c1f5ce206f84d37983bb284d049dde9fe15d5090b534", "distro": "debian-11", "type": "NAMI", - "version": "3.1.29-0" + "version": "3.1.29-1" } } \ No newline at end of file diff --git a/bitnami/dotnet/README.md b/bitnami/dotnet/README.md index 67c3a000faad..430f550c05da 100644 --- a/bitnami/dotnet/README.md +++ b/bitnami/dotnet/README.md @@ -35,8 +35,8 @@ $ docker-compose up -d 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/). -* [`6`, `6-debian-11`, `6.0.9`, `6.0.9-debian-11-r6`, `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.29`, `3.1.29-debian-11-r6` (3.1/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/dotnet/3.1/debian-11/Dockerfile) +* [`6`, `6-debian-11`, `6.0.9`, `6.0.9-debian-11-r7`, `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.29`, `3.1.29-debian-11-r8` (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).