diff --git a/bitnami/python/3.9/debian-11/Dockerfile b/bitnami/python/3.9/debian-11/Dockerfile index f0b058200929..2f58ab6ae9ca 100644 --- a/bitnami/python/3.9/debian-11/Dockerfile +++ b/bitnami/python/3.9/debian-11/Dockerfile @@ -7,10 +7,10 @@ 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-156-linux-amd64-debian-11.tar.gz && \ - echo "7db9eeb23ca30f3c26523cf01d9d1c3fc50c7762be8a0d0657426f861a881a9d /tmp/bitnami/pkg/cache/python-3.9.13-156-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \ - tar -zxf /tmp/bitnami/pkg/cache/python-3.9.13-156-linux-amd64-debian-11.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \ - rm -rf /tmp/bitnami/pkg/cache/python-3.9.13-156-linux-amd64-debian-11.tar.gz +RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/python-3.9.13-157-linux-amd64-debian-11.tar.gz && \ + echo "a29cd55888ed1fead64660953588d8d1d850d789fdf951093ad66263f1089556 /tmp/bitnami/pkg/cache/python-3.9.13-157-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \ + tar -zxf /tmp/bitnami/pkg/cache/python-3.9.13-157-linux-amd64-debian-11.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \ + rm -rf /tmp/bitnami/pkg/cache/python-3.9.13-157-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 0dc6e604e882..9fbaf1f788cd 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": "7db9eeb23ca30f3c26523cf01d9d1c3fc50c7762be8a0d0657426f861a881a9d", + "digest": "a29cd55888ed1fead64660953588d8d1d850d789fdf951093ad66263f1089556", "distro": "debian-11", "type": "NAMI", - "version": "3.9.13-156" + "version": "3.9.13-157" } } \ No newline at end of file diff --git a/bitnami/python/README.md b/bitnami/python/README.md index abe3a8d9cd21..b8f08eb36a95 100644 --- a/bitnami/python/README.md +++ b/bitnami/python/README.md @@ -17,7 +17,7 @@ $ docker run -it --name python bitnami/python ### Docker Compose ```console -$ curl -sSL https://raw.githubusercontent.com/bitnami/bitnami-docker-python/master/docker-compose.yml > docker-compose.yml +$ curl -sSL https://raw.githubusercontent.com/bitnami/containers/main/bitnami/python/docker-compose.yml > docker-compose.yml $ docker-compose up -d ``` @@ -35,12 +35,12 @@ $ 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/). -* [`3.10`, `3.10-debian-11`, `3.10.5`, `3.10.5-debian-11-r24`, `latest` (3.10/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-python/blob/3.10.5-debian-11-r24/3.10/debian-11/Dockerfile) -* [`3.9`, `3.9-debian-11`, `3.9.13`, `3.9.13-debian-11-r23` (3.9/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-python/blob/3.9.13-debian-11-r23/3.9/debian-11/Dockerfile) -* [`3.8`, `3.8-debian-11`, `3.8.13`, `3.8.13-debian-11-r27` (3.8/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-python/blob/3.8.13-debian-11-r27/3.8/debian-11/Dockerfile) -* [`3.7`, `3.7-debian-11`, `3.7.13`, `3.7.13-debian-11-r25` (3.7/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-python/blob/3.7.13-debian-11-r25/3.7/debian-11/Dockerfile) +* [`3.10`, `3.10-debian-11`, `3.10.5`, `3.10.5-debian-11-r24`, `latest` (3.10/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/python/3.10/debian-11/Dockerfile) +* [`3.9`, `3.9-debian-11`, `3.9.13`, `3.9.13-debian-11-r24` (3.9/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/python/3.9/debian-11/Dockerfile) +* [`3.8`, `3.8-debian-11`, `3.8.13`, `3.8.13-debian-11-r27` (3.8/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/python/3.8/debian-11/Dockerfile) +* [`3.7`, `3.7-debian-11`, `3.7.13`, `3.7.13-debian-11-r25` (3.7/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/python/3.7/debian-11/Dockerfile) -Subscribe to project updates by watching the [bitnami/python GitHub repo](https://github.com/bitnami/bitnami-docker-python). +Subscribe to project updates by watching the [bitnami/containers GitHub repo](https://github.com/bitnami/containers). ### Deprecation Note (2022-01-21) @@ -68,10 +68,12 @@ To use a specific version, you can pull a versioned tag. You can view the [list $ docker pull bitnami/python:[TAG] ``` -If you wish, you can also build the image yourself. +If you wish, you can also build the image yourself by cloning the repository, changing to the directory containing the Dockerfile and executing the `docker build` command. Remember to replace the `APP`, `VERSION` and `OPERATING-SYSTEM` path placeholders in the example command below with the correct values. ```console -$ docker build -t bitnami/python 'https://github.com/bitnami/bitnami-docker-python.git#master:3.10/debian-11' +$ git clone https://github.com/bitnami/containers.git +$ cd bitnami/APP/VERSION/OPERATING-SYSTEM +$ docker build -t bitnami/APP:latest . ``` ## Entering the REPL @@ -159,18 +161,11 @@ $ docker-compose up python ## Contributing -We'd love for you to contribute to this Docker image. You can request new features by creating an [issue](https://github.com/bitnami/bitnami-docker-python/issues), or submit a [pull request](https://github.com/bitnami/bitnami-docker-python/pulls) with your contribution. +We'd love for you to contribute to this Docker image. You can request new features by creating an [issue](https://github.com/bitnami/containers/issues), or submit a [pull request](https://github.com/bitnami/containers/pulls) with your contribution. ## Issues -If you encountered a problem running this container, you can file an [issue](https://github.com/bitnami/bitnami-docker-python/issues/new). For us to provide better support, be sure to include the following information in your issue: - -- Host OS and version -- Docker version (`docker version`) -- Output of `docker info` -- Version of this container -- The command you used to run the container, and any relevant output you saw (masking any sensitive -information) +If you encountered a problem running this container, you can file an [issue](https://github.com/bitnami/containers/issues/new/choose). For us to provide better support, be sure to fill the issue template. ## License