From 21d1942383cbaa090b86edb65020a9a4bfac9f92 Mon Sep 17 00:00:00 2001 From: Galen Guyer Date: Wed, 7 Dec 2022 16:14:29 -0500 Subject: Add debian-base images --- bake.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bake.sh') diff --git a/bake.sh b/bake.sh index b946f23..839cefd 100755 --- a/bake.sh +++ b/bake.sh @@ -28,6 +28,10 @@ echo "using registry $registry..." >&2 alpine="${ALPINE:-$(curl -sSL https://www.alpinelinux.org/downloads/ | grep -P 'Current Alpine Version' | grep -o -P '\d+\.\d+\.\d+')}" echo "using alpine version $alpine..." >&2 +# retrieve latest debian version +debian="${DEBIAN:-11.5}" +echo "using alpine version $debian..." >&2 + # retreive latest nginx stable version nginx_stable="${NGINX_STABLE:-$(curl -sSL https://nginx.org/en/download.html | grep -P '(\/download\/nginx-\d+\.\d+\.\d+\.tar\.gz)' -o | uniq | head -n2 | tail -n1 | grep -o -P '\d+\.\d+\.\d+')}" echo "using nginx stable version $nginx_stable..." >&2 @@ -46,6 +50,7 @@ echo "using $core_count cores..." >&2 # create docker images export ALPINE_VER="$alpine" +export DEBIAN_VER="$debian" export CORE_COUNT="$core_count" export REGISTRY="$registry" export NGINX_MAINLINE="$nginx_mainline" @@ -66,6 +71,7 @@ for target in $targets; do done echo -e "\n## build options" >> README.md echo "- **ALPINE**: "'`'"$ALPINE_VER"'`'"" >> README.md +echo "- **DEBIAN**: "'`'"$DEBIAN_VER"'`'"" >> README.md echo "- **NGINX_MAINLINE**: "'`'"$NGINX_MAINLINE"'`'"" >> README.md echo "- **NGINX_STABLE**: "'`'"$NGINX_STABLE"'`'"" >> README.md echo "- **PCRE2**: "'`'"$PCRE2_VER"'`'"" >> README.md -- cgit v1.2.3