generate_architecture: find portable
This commit is contained in:
parent
699b21b8a5
commit
132b45b326
@ -12,7 +12,7 @@ _generateParentRepoToArches() {
|
||||
local officialImagesUrl='https://github.com/docker-library/official-images/raw/master/library/'
|
||||
|
||||
eval "declare -g -A parentRepoToArches=( $(
|
||||
find -name 'Dockerfile' -exec awk '
|
||||
find . -name 'Dockerfile' -exec awk '
|
||||
toupper($1) == "FROM" && $2 !~ /^('"$repo"'|scratch|.*\/.*)(:|$)/ {
|
||||
print "'"$officialImagesUrl"'" $2
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user