Skip to content

Commit 7d6f8b1

Browse files
committed
Remove heinous list of git urls
1 parent 5f753eb commit 7d6f8b1

File tree

1 file changed

+3
-75
lines changed

1 file changed

+3
-75
lines changed

update.sh

+3-75
Original file line numberDiff line numberDiff line change
@@ -20,75 +20,6 @@ replace_field() {
2020
sed -ri "s/${extraSed}%%${field}%%${extraSed}/$sed_escaped_value/g" "$repo/README.md"
2121
}
2222

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-
9223
dockerLatest="$(curl -fsSL 'https://get.docker.com/latest')"
9324

9425
for repo in "${repos[@]}"; do
@@ -97,10 +28,7 @@ for repo in "${repos[@]}"; do
9728
fi
9829

9930
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")"
10432

10533
mailingList="$(cat "$repo/mailing-list.md" 2>/dev/null || true)"
10634
if [ "$mailingList" ]; then
@@ -191,8 +119,8 @@ for repo in "${repos[@]}"; do
191119
echo ' REPO => "'"$repo"'"'
192120
replace_field "$repo" 'REPO' "$repo"
193121

194-
echo ' GITHUB-REPO => "'"$gitRepo"'"'
195-
replace_field "$repo" 'GITHUB-REPO' "$gitRepo"
122+
echo ' GITHUB-REPO => "'"$githubRepo"'"'
123+
replace_field "$repo" 'GITHUB-REPO' "$githubRepo"
196124

197125
echo
198126
else

0 commit comments

Comments
 (0)