Fix parentRepoToArches

pull/1025/head
Tilo Spannagel 6 years ago committed by GitHub
parent 63634d91a3
commit 90245ce082
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 \

Loading…
Cancel
Save