1
0
mirror of https://github.com/nextcloud/docker.git synced 2024-06-26 19:25:17 +02:00

Revert "Fix parentRepoToArches"

This commit is contained in:
Tilo Spannagel 2020-03-09 15:03:05 +01:00 committed by GitHub
parent fda5053c31
commit 96c2f48f87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@ getArches() {
eval "declare -g -A parentRepoToArches=( $( eval "declare -g -A parentRepoToArches=( $(
find -maxdepth 3 -name 'Dockerfile' -exec awk ' find -maxdepth 3 -name 'Dockerfile' -exec awk '
toupper($1) == "FROM" && $2 !~ /^('"$repo"'|scratch|microsoft\/[^:]+)(:|$)/ { toupper($1) == "FROM" && $2 !~ /^('"$repo"'|scratch|microsoft\/[^:]+)(:|$)/ {
split($2,x,":"); print "'"$officialImagesUrl"'" x[1] print "'"$officialImagesUrl"'" $2
} }
' '{}' + \ ' '{}' + \
| sort -u \ | sort -u \