1
0
mirror of https://gitlab.com/jarylc/docker-duoauthproxy.git synced 2026-02-04 15:04:41 +00:00

take the oldest applicable version of alpine instead of the newest

This commit is contained in:
Jaryl Chng
2025-11-14 16:02:12 +08:00
parent 375e36d279
commit a9bf22f9a5

View File

@@ -15,7 +15,6 @@ for ALPINE_VERSION in $(curl -s "https://pkgs.alpinelinux.org/packages?name=pyth
echo "Checking Alpine version: ${ALPINE_VERSION}"
if curl -s "https://pkgs.alpinelinux.org/packages?name=python${PYTHON_VERSION%.*.*}&branch=${ALPINE_VERSION}" | grep -q ${PYTHON_VERSION%.*}; then
ALPINE_VERSION="${ALPINE_VERSION/v/}"
break
fi
done