From 90245ce08291f347fc764d6d6b96f29a2708ab47 Mon Sep 17 00:00:00 2001 From: Tilo Spannagel Date: Mon, 9 Mar 2020 14:50:53 +0100 Subject: [PATCH] Fix parentRepoToArches --- generate-stackbrew-library.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate-stackbrew-library.sh b/generate-stackbrew-library.sh index a68081c9..b2a8d767 100755 --- a/generate-stackbrew-library.sh +++ b/generate-stackbrew-library.sh @@ -43,7 +43,7 @@ getArches() { eval "declare -g -A parentRepoToArches=( $( find -maxdepth 3 -name 'Dockerfile' -exec awk ' toupper($1) == "FROM" && $2 !~ /^('"$repo"'|scratch|microsoft\/[^:]+)(:|$)/ { - print "'"$officialImagesUrl"'" $2 + split($2,x,":"); print "'"$officialImagesUrl"'" x[1] } ' '{}' + \ | sort -u \