[bitnami/python] Release 3.7.17-debian-11-r9 (#39707)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot
2023-07-03 08:33:15 +02:00
committed by GitHub
parent 932ea8e4ef
commit 9aa44c818d
6 changed files with 106 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
{
"python": {
"arch": "amd64",
"distro": "debian-11",
"type": "NAMI",
"version": "3.7.17-1"
}
}

View File

@@ -0,0 +1,3 @@
Bitnami containers ship with software bundles. You can find the licenses at:
https://bitnami.com/open-source
/opt/bitnami/[name-of-bundle]/licenses/[bundle-version].txt

View File

@@ -0,0 +1,27 @@
#!/bin/sh
# Copyright VMware, Inc.
# SPDX-License-Identifier: APACHE-2.0
set -eu
n=0
max=2
export DEBIAN_FRONTEND=noninteractive
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
apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives