diff --git a/generate-stackbrew-library.sh b/generate-stackbrew-library.sh index 1eafc2df..a922b8f9 100755 --- a/generate-stackbrew-library.sh +++ b/generate-stackbrew-library.sh @@ -51,7 +51,7 @@ getArches() { eval "declare -g -A parentRepoToArches=( $( find -name 'Dockerfile' -exec awk ' - toupper($1) == "FROM" && $2 !~ /^('"$repo"'|scratch|microsoft\/[^:]+)(:|$)/ { + toupper($1) == "FROM" && $2 !~ /^('"$repo"'|scratch|.*\/.*)(:|$)/ { print "'"$officialImagesUrl"'" $2 } ' '{}' + \