@@ -20,75 +20,6 @@ replace_field() {
20
20
sed -ri " s/${extraSed} %%${field} %%${extraSed} /$sed_escaped_value /g" " $repo /README.md"
21
21
}
22
22
23
- declare -A otherRepos=(
24
- [aerospike]=' https://github.com/aerospike/aerospike-server.docker'
25
- [alpine]=' https://github.com/gliderlabs/docker-alpine'
26
- [arangodb]=' https://github.com/arangodb/arangodb-docker'
27
- [backdrop]=' https://github.com/backdrop-ops/backdrop-docker'
28
- [bonita]=' https://github.com/Bonitasoft-Community/docker_bonita'
29
- [centos]=' https://github.com/CentOS/sig-cloud-instance-images'
30
- [chronograf]=' https://github.com/influxdata/chronograf-docker'
31
- [cirros]=' https://github.com/ewindisch/docker-cirros'
32
- [clojure]=' https://github.com/Quantisan/docker-clojure'
33
- [consul]=' https://github.com/hashicorp/docker-consul'
34
- [crate]=' https://github.com/crate/docker-crate'
35
- [crux]=' https://github.com/therealprologic/docker-crux'
36
- [debian]=' https://github.com/tianon/docker-brew-debian'
37
- [docker-dev]=' https://github.com/docker/docker'
38
- [elixir]=' https://github.com/c0b/docker-elixir'
39
- [erlang]=' https://github.com/c0b/docker-erlang-otp'
40
- [fedora]=' https://github.com/lsm5/docker-brew-fedora'
41
- [gazebo]=' https://github.com/osrf/docker_images'
42
- [glassfish]=' https://github.com/aws/aws-eb-glassfish'
43
- [haskell]=' https://github.com/freebroccolo/docker-haskell'
44
- [hipache]=' https://github.com/dotcloud/hipache'
45
- [hylang]=' https://github.com/hylang/hy'
46
- [influxdb]=' https://github.com/influxdata/influxdb-docker'
47
- [iojs]=' https://github.com/nodejs/docker-iojs'
48
- [irssi]=' https://github.com/jfrazelle/irssi'
49
- [jenkins]=' https://github.com/cloudbees/jenkins-ci.org-docker'
50
- [jetty]=' https://github.com/appropriate/docker-jetty'
51
- [joomla]=' https://github.com/joomla/docker-joomla'
52
- [jruby]=' https://github.com/cpuguy83/docker-jruby'
53
- [kaazing-gateway]=' https://github.com/kaazing/gateway.docker'
54
- [kapacitor]=' https://github.com/influxdata/kapacitor-docker'
55
- [lightstreamer]=' https://github.com/Lightstreamer/Docker'
56
- [mageia]=' https://github.com/juanluisbaptiste/docker-brew-mageia'
57
- [maven]=' https://github.com/carlossg/docker-maven'
58
- [mongo-express]=' https://github.com/mongo-express/mongo-express-docker'
59
- [mono]=' https://github.com/mono/docker'
60
- [neo4j]=' https://github.com/neo4j/docker-neo4j'
61
- [neurodebian]=' https://github.com/neurodebian/dockerfiles'
62
- [nginx]=' https://github.com/nginxinc/docker-nginx'
63
- [node]=' https://github.com/nodejs/docker-node'
64
- [nuxeo]=' https://github.com/nuxeo/docker-nuxeor'
65
- [odoo]=' https://github.com/odoo/docker'
66
- [opensuse]=' https://github.com/openSUSE/docker-containers-build'
67
- [oraclelinux]=' https://github.com/oracle/docker'
68
- [orientdb]=' https://github.com/orientechnologies/orientdb-docker'
69
- [perl]=' https://github.com/Perl/docker-perl'
70
- [photon]=' https://github.com/frapposelli/photon-docker-image'
71
- [piwik]=' https://github.com/piwik/docker-piwik'
72
- [r-base]=' https://github.com/rocker-org/rocker'
73
- [rakudo]=' https://github.com/perl6/docker'
74
- [registry]=' https://github.com/docker/docker-registry'
75
- [rethinkdb]=' https://github.com/stuartpb/rethinkdb-dockerfiles'
76
- [rocket.chat]=' https://github.com/RocketChat/Docker.Official.Image'
77
- [ros]=' https://github.com/osrf/docker_images'
78
- [sentry]=' https://github.com/getsentry/docker-sentry'
79
- [solr]=' https://github.com/docker-solr/solr'
80
- [sonarqube]=' https://github.com/SonarSource/docker-sonarqube'
81
- [sourcemage]=' https://github.com/vaygr/docker-sourcemage'
82
- [swarm]=' https://github.com/docker/swarm-library-image'
83
- [telegraf]=' https://github.com/influxdata/telegraf-docker'
84
- [thrift]=' https://github.com/ahawkins/docker-thrift'
85
- [traefik]=' https://github.com/containous/traefik-library-image'
86
- [ubuntu-debootstrap]=' https://github.com/tianon/docker-brew-ubuntu-debootstrap'
87
- [ubuntu-upstart]=' https://github.com/tianon/dockerfiles'
88
- [ubuntu]=' https://github.com/tianon/docker-brew-ubuntu-core'
89
- [websphere-liberty]=' https://github.com/WASdev/ci.docker'
90
- )
91
-
92
23
dockerLatest=" $( curl -fsSL ' https://get.docker.com/latest' ) "
93
24
94
25
for repo in " ${repos[@]} " ; do
@@ -97,10 +28,7 @@ for repo in "${repos[@]}"; do
97
28
fi
98
29
99
30
if [ -e " $repo /content.md" ]; then
100
- gitRepo=" ${otherRepos[$repo]} "
101
- if [ -z " $gitRepo " ]; then
102
- gitRepo=" https://github.com/docker-library/$repo "
103
- fi
31
+ githubRepo=" $( cat " $repo /github-repo" ) "
104
32
105
33
mailingList=" $( cat " $repo /mailing-list.md" 2> /dev/null || true) "
106
34
if [ " $mailingList " ]; then
@@ -191,8 +119,8 @@ for repo in "${repos[@]}"; do
191
119
echo ' REPO => "' " $repo " ' "'
192
120
replace_field " $repo " ' REPO' " $repo "
193
121
194
- echo ' GITHUB-REPO => "' " $gitRepo " ' "'
195
- replace_field " $repo " ' GITHUB-REPO' " $gitRepo "
122
+ echo ' GITHUB-REPO => "' " $githubRepo " ' "'
123
+ replace_field " $repo " ' GITHUB-REPO' " $githubRepo "
196
124
197
125
echo
198
126
else
0 commit comments