mirror of
https://gitlab.com/jarylc/docker-duoauthproxy.git
synced 2026-02-04 16:49:41 +00:00
take the oldest applicable version of alpine instead of the newest
This commit is contained in:
1
check.sh
1
check.sh
@@ -15,7 +15,6 @@ for ALPINE_VERSION in $(curl -s "https://pkgs.alpinelinux.org/packages?name=pyth
|
|||||||
echo "Checking Alpine version: ${ALPINE_VERSION}"
|
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
|
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/}"
|
ALPINE_VERSION="${ALPINE_VERSION/v/}"
|
||||||
break
|
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user