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

This commit is contained in:
Tianon Gravi 2019-02-04 14:18:50 -08:00
parent 22f6ecb166
commit 0576eabd93
1 changed files with 1 additions and 1 deletions

View File

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