2.7.18-debian-11-r0 release
This commit is contained in:
parent
0a9b976833
commit
cf0f25674b
|
|
@ -0,0 +1,28 @@
|
|||
FROM docker.io/bitnami/minideb:bullseye
|
||||
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
ENV OS_ARCH="amd64" \
|
||||
OS_FLAVOUR="debian-11" \
|
||||
OS_NAME="linux"
|
||||
|
||||
COPY prebuildfs /
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages build-essential ca-certificates curl git gzip libbz2-1.0 libc6 libcom-err2 libcrypt1 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 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-2.7.18-0-linux-amd64-debian-11.tar.gz && \
|
||||
echo "9411d0fad772ff7c50bf3bb9f5d808d558d0c51a6891eab55415d0693bb31c93 /tmp/bitnami/pkg/cache/python-2.7.18-0-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \
|
||||
tar -zxf /tmp/bitnami/pkg/cache/python-2.7.18-0-linux-amd64-debian-11.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
||||
rm -rf /tmp/bitnami/pkg/cache/python-2.7.18-0-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 && \
|
||||
sed -i 's/^PASS_MIN_DAYS.*/PASS_MIN_DAYS 0/' /etc/login.defs && \
|
||||
sed -i 's/sha512/sha512 minlen=8/' /etc/pam.d/common-password
|
||||
|
||||
ENV APP_VERSION="2.7.18" \
|
||||
BITNAMI_APP_NAME="python" \
|
||||
PATH="/opt/bitnami/python/bin:$PATH"
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
WORKDIR /app
|
||||
CMD [ "python" ]
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
version: '2'
|
||||
|
||||
services:
|
||||
python:
|
||||
tty: true # Enables debugging capabilities when attached to this container.
|
||||
image: docker.io/bitnami/python:2
|
||||
ports:
|
||||
- 8000:8000
|
||||
volumes:
|
||||
- .:/app
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"python": {
|
||||
"arch": "amd64",
|
||||
"digest": "9411d0fad772ff7c50bf3bb9f5d808d558d0c51a6891eab55415d0693bb31c93",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "2.7.18-0"
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
Bitnami containers ship with software bundles. You can find the licenses under:
|
||||
/opt/bitnami/nami/COPYING
|
||||
/opt/bitnami/[name-of-bundle]/licenses/[bundle-version].txt
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
set -u
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
n=0
|
||||
max=2
|
||||
until [ $n -gt $max ]; do
|
||||
set +e
|
||||
(
|
||||
apt-get update -qq &&
|
||||
apt-get install -y --no-install-recommends "$@"
|
||||
)
|
||||
CODE=$?
|
||||
set -e
|
||||
if [ $CODE -eq 0 ]; then
|
||||
break
|
||||
fi
|
||||
if [ $n -eq $max ]; then
|
||||
exit $CODE
|
||||
fi
|
||||
echo "apt failed, retrying"
|
||||
n=$(($n + 1))
|
||||
done
|
||||
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
||||
|
|
@ -39,7 +39,7 @@ Learn more about the Bitnami tagging policy and the difference between rolling t
|
|||
* [`3.9`, `3.9-debian-11`, `3.9.13`, `3.9.13-debian-11-r0` (3.9/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-python/blob/3.9.13-debian-11-r0/3.9/debian-11/Dockerfile)
|
||||
* [`3.8`, `3.8-debian-11`, `3.8.13`, `3.8.13-debian-11-r-1` (3.8/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-python/blob/3.8.13-debian-11-r-1/3.8/debian-11/Dockerfile)
|
||||
* [`3.7`, `3.7-debian-11`, `3.7.13`, `3.7.13-debian-11-r0` (3.7/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-python/blob/3.7.13-debian-11-r0/3.7/debian-11/Dockerfile)
|
||||
* [`2`, `2-debian-11`, `2.7.18`, `2.7.18-debian-11-r-1` (2/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-python/blob/2.7.18-debian-11-r-1/2/debian-11/Dockerfile)
|
||||
* [`2`, `2-debian-11`, `2.7.18`, `2.7.18-debian-11-r0` (2/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-python/blob/2.7.18-debian-11-r0/2/debian-11/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/python GitHub repo](https://github.com/bitnami/bitnami-docker-python).
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue