mirror of
https://github.com/bitnami/containers.git
synced 2026-02-22 16:17:21 +08:00
2.7.17-debian-9-r78 release
This commit is contained in:
@@ -7,12 +7,14 @@ RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stac
|
||||
echo "27dd8b9191d766d555257113720c176fa13ba38c64000c373d14924eac7dc070 /tmp/bitnami/pkg/cache/python-2.7.17-1-linux-amd64-debian-9.tar.gz" | sha256sum -c - && \
|
||||
tar -zxf /tmp/bitnami/pkg/cache/python-2.7.17-1-linux-amd64-debian-9.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
||||
rm -rf /tmp/bitnami/pkg/cache/python-2.7.17-1-linux-amd64-debian-9.tar.gz
|
||||
RUN apt-get update && apt-get upgrade && \
|
||||
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 BITNAMI_APP_NAME="python" \
|
||||
BITNAMI_IMAGE_VERSION="2.7.17-debian-9-r77" \
|
||||
BITNAMI_IMAGE_VERSION="2.7.17-debian-9-r78" \
|
||||
PATH="/opt/bitnami/python/bin:$PATH"
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
Reference in New Issue
Block a user