mirror of
https://github.com/bitnami/containers.git
synced 2026-03-03 06:58:07 +08:00
3.6.10-debian-9-r20 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 "3d7e860761a828ac03c631386b6711433e07bd96d6184d73c11f59d6a7e3b480 /tmp/bitnami/pkg/cache/python-3.6.10-0-linux-amd64-debian-9.tar.gz" | sha256sum -c - && \
|
||||
tar -zxf /tmp/bitnami/pkg/cache/python-3.6.10-0-linux-amd64-debian-9.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
||||
rm -rf /tmp/bitnami/pkg/cache/python-3.6.10-0-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="3.6.10-debian-9-r19" \
|
||||
BITNAMI_IMAGE_VERSION="3.6.10-debian-9-r20" \
|
||||
PATH="/opt/bitnami/python/bin:$PATH"
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
Reference in New Issue
Block a user