File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ self="$(basename "$BASH_SOURCE")"
12
12
cd " $( dirname " $( readlink -f " $BASH_SOURCE " ) " ) "
13
13
14
14
if [ " $# " -eq 0 ]; then
15
- versions=" $( jq -r ' keys | sort_by(tonumber) | reverse | map(@sh) | join(" ")' versions.json) "
15
+ versions=" $( jq -r ' keys_unsorted | sort_by(tonumber) | reverse | map(@sh) | join(" ")' versions.json) "
16
16
eval " set -- $versions "
17
17
fi
18
18
@@ -43,7 +43,7 @@ getArches() {
43
43
local officialImagesUrl=' https://github.com/docker-library/official-images/raw/master/library/'
44
44
45
45
eval " declare -g -A parentRepoToArches=( $(
46
- find -name ' Dockerfile' -exec awk '
46
+ find " $@ " -name ' Dockerfile' -exec awk '
47
47
toupper($1) == "FROM" && $2 !~ /^(' " $repo " ' |scratch|.*\/.*)(:|$)/ {
48
48
print "' " $officialImagesUrl " ' " $2
49
49
}
@@ -52,7 +52,7 @@ getArches() {
52
52
| xargs bashbrew cat --format ' [{{ .RepoName }}:{{ .TagName }}]="{{ join " " .TagEntry.Architectures }}"'
53
53
) )"
54
54
}
55
- getArches ' tomcat'
55
+ getArches ' tomcat' " $@ "
56
56
57
57
cat << -EOH
58
58
# this file is generated via https://github.com/docker-library/tomcat/blob/$( fileCommit " $self " ) /$self
You can’t perform that action at this time.
0 commit comments