mirror of
https://github.com/nextcloud/docker.git
synced 2024-11-17 18:46:43 +01:00
Fix inclusion of Dockerfile examples
This commit is contained in:
parent
8281ad1663
commit
cca560535d
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ getArches() {
|
||||||
local officialImagesUrl='https://github.com/docker-library/official-images/raw/master/library/'
|
local officialImagesUrl='https://github.com/docker-library/official-images/raw/master/library/'
|
||||||
|
|
||||||
eval "declare -g -A parentRepoToArches=( $(
|
eval "declare -g -A parentRepoToArches=( $(
|
||||||
find -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\/[^:]+)(:|$)/ {
|
||||||
print "'"$officialImagesUrl"'" $2
|
print "'"$officialImagesUrl"'" $2
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue