From d54700c4d81d3d49db4967a89cc81c7f525fa1c3 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Fri, 7 Oct 2022 11:13:51 +0200 Subject: [PATCH] [bitnami/python] Release 3.7.14-debian-11-r12 (#9335) Signed-off-by: Bitnami Containers Signed-off-by: Bitnami Containers Signed-off-by: Fran Mulero Co-authored-by: Fran Mulero --- bitnami/python/3.7/debian-11/Dockerfile | 26 ++++++++++++------- .../opt/bitnami/.bitnami_components.json | 4 +-- 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/bitnami/python/3.7/debian-11/Dockerfile b/bitnami/python/3.7/debian-11/Dockerfile index 7d70cc3567b5..629a829789d6 100644 --- a/bitnami/python/3.7/debian-11/Dockerfile +++ b/bitnami/python/3.7/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.7.14-debian-11-r10" \ + org.opencontainers.image.ref.name="3.7.14-debian-11-r12" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/python" \ org.opencontainers.image.title="python" \ org.opencontainers.image.vendor="VMware, Inc." \ @@ -17,16 +17,22 @@ ENV OS_ARCH="${TARGETARCH:-amd64}" \ COPY prebuildfs / SHELL ["/bin/bash", "-o", "pipefail", "-c"] # Install required system packages and dependencies -RUN install_packages build-essential ca-certificates curl git libbz2-1.0 libc6 libcom-err2 libcrypt1 libffi7 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblzma5 libncursesw6 libnsl2 libreadline8 libsqlite3-0 libsqlite3-dev libssl-dev libssl1.1 libtinfo6 libtirpc3 pkg-config procps unzip wget zlib1g +RUN install_packages build-essential ca-certificates curl git libbz2-1.0 libcom-err2 libcrypt1 libffi7 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblzma5 libncursesw6 libnsl2 libreadline8 libsqlite3-0 libsqlite3-dev libssl-dev libssl1.1 libtinfo6 libtirpc3 pkg-config procps unzip wget zlib1g RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ - if [ ! -f python-3.7.14-1-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/python-3.7.14-1-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/python-3.7.14-1-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ - fi && \ - sha256sum -c python-3.7.14-1-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ - tar -zxf python-3.7.14-1-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ - rm -rf python-3.7.14-1-linux-${OS_ARCH}-debian-11.tar.gz python-3.7.14-1-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -RUN apt-get update && apt-get upgrade -y && \ + COMPONENTS=( \ + "python-3.7.14-2-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/python/3.7/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/python/3.7/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json index 89e1db418173..a038f44370c0 100644 --- a/bitnami/python/3.7/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/python/3.7/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json @@ -1,9 +1,9 @@ { "python": { "arch": "amd64", - "digest": "bd16eb35059f7ee2749292e8db705e1149a7bec2d525c5ea6f2a074645eee738", + "digest": "38fac137ea99a8e6a11295166fa869e77355a1ea525e7b3133fe5ed2f7530a93", "distro": "debian-11", "type": "NAMI", - "version": "3.7.14-1" + "version": "3.7.14-2" } } \ No newline at end of file