0.7.1-debian-11-r0 release

This commit is contained in:
Bitnami Bot
2022-06-06 10:31:53 +00:00
committed by Bitnami Containers
parent 3e1a35bdbb
commit 9c9eed7fc9
6 changed files with 73 additions and 2 deletions

View File

@@ -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