|
|
|
|
@ -30,7 +30,7 @@ getArches() {
|
|
|
|
|
local officialImagesUrl='https://github.com/docker-library/official-images/raw/master/library/'
|
|
|
|
|
|
|
|
|
|
eval "declare -g -A parentRepoToArches=( $(
|
|
|
|
|
find -name 'Dockerfile' -exec awk '
|
|
|
|
|
find -maxdepth 3 -name 'Dockerfile' -exec awk '
|
|
|
|
|
toupper($1) == "FROM" && $2 !~ /^('"$repo"'|scratch|microsoft\/[^:]+)(:|$)/ {
|
|
|
|
|
print "'"$officialImagesUrl"'" $2
|
|
|
|
|
}
|
|
|
|
|
|