diff --git a/bitnami/python/3.9/debian-11/Dockerfile b/bitnami/python/3.9/debian-11/Dockerfile index d0a35c1522b5..9bc4982d9d02 100644 --- a/bitnami/python/3.9/debian-11/Dockerfile +++ b/bitnami/python/3.9/debian-11/Dockerfile @@ -5,7 +5,7 @@ ENV OS_ARCH="amd64" \ LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \ org.opencontainers.image.description="Application packaged by Bitnami" \ - org.opencontainers.image.ref.name="3.9.13-debian-11-r37" \ + org.opencontainers.image.ref.name="3.9.13-debian-11-r38" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/python" \ org.opencontainers.image.title="python" \ org.opencontainers.image.vendor="VMware, Inc." \ @@ -15,10 +15,13 @@ COPY prebuildfs / SHELL ["/bin/bash", "-o", "pipefail", "-c"] # Install required system packages and dependencies RUN install_packages build-essential ca-certificates curl git gzip 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 tar unzip wget zlib1g -RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/python-3.9.13-164-linux-amd64-debian-11.tar.gz && \ - echo "84dc1804c30767dba8197459b7d20b77279f80ee52fdfd126487d179d124346f /tmp/bitnami/pkg/cache/python-3.9.13-164-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \ - tar -zxf /tmp/bitnami/pkg/cache/python-3.9.13-164-linux-amd64-debian-11.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \ - rm -rf /tmp/bitnami/pkg/cache/python-3.9.13-164-linux-amd64-debian-11.tar.gz +RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ + if [ ! -f python-3.9.13-165-linux-amd64-debian-11.tar.gz ]; then \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/python-3.9.13-165-linux-amd64-debian-11.tar.gz -O ; \ + fi && \ + echo "5051fbf8187b68b029cdf43e2fbae05619fa21e6770224c16ac6150242fc30b2 python-3.9.13-165-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \ + tar -zxf python-3.9.13-165-linux-amd64-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --wildcards '*/files' && \ + rm -rf python-3.9.13-165-linux-amd64-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/python/3.9/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/python/3.9/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json index ecf75a91ed99..fff8aff62f8d 100644 --- a/bitnami/python/3.9/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/python/3.9/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json @@ -1,9 +1,9 @@ { "python": { "arch": "amd64", - "digest": "84dc1804c30767dba8197459b7d20b77279f80ee52fdfd126487d179d124346f", + "digest": "5051fbf8187b68b029cdf43e2fbae05619fa21e6770224c16ac6150242fc30b2", "distro": "debian-11", "type": "NAMI", - "version": "3.9.13-164" + "version": "3.9.13-165" } } \ No newline at end of file