1
0
docker-powerdns/build/rebuild.sh
Pim van den Berg d2ad01fd37
All checks were successful
continuous-integration/drone/push Build is passing
feat: drop Debian 11 support
2024-02-04 19:10:33 +01:00

17 lines
304 B
Bash
Executable File

#!/bin/sh
set -x
updates_available () {
docker pull $1
if test "$(docker run --rm $1 /bin/sh -c 'apt -qqq update && apt -qq list --upgradable')" != ""; then
return 0
else
return 1
fi
}
if updates_available pommib/powerdns:4.6-bookworm; then
./debian/12/build.sh
fi