Adjust base image exclusion in generate-stackbrew-library.sh

This commit is contained in:
Tianon Gravi 2019-02-04 15:28:30 -08:00
parent 22f1373e68
commit 5f2b9c2d60

View File

@ -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
}
' '{}' + \