From cca560535dee4789e7ea75cdaeb50fc1c08b0269 Mon Sep 17 00:00:00 2001 From: J0WI Date: Wed, 14 Feb 2018 02:44:38 +0100 Subject: [PATCH] Fix inclusion of Dockerfile examples --- generate-stackbrew-library.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate-stackbrew-library.sh b/generate-stackbrew-library.sh index 453473ea..a32e8c95 100755 --- a/generate-stackbrew-library.sh +++ b/generate-stackbrew-library.sh @@ -30,7 +30,7 @@ getArches() { local officialImagesUrl='https://github.com/docker-library/official-images/raw/master/library/' eval "declare -g -A parentRepoToArches=( $( - find -name 'Dockerfile' -exec awk ' + find -maxdepth 3 -name 'Dockerfile' -exec awk ' toupper($1) == "FROM" && $2 !~ /^('"$repo"'|scratch|microsoft\/[^:]+)(:|$)/ { print "'"$officialImagesUrl"'" $2 }