0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-01-19 20:33:54 +01:00

Fix parentRepoToArches

This commit is contained in:
Tilo Spannagel 2020-03-09 14:50:53 +01:00 committed by GitHub
parent 63634d91a3
commit 90245ce082
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=( $(
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 \