Merge pull request #572 from infosiftr/break-all-the-things
Remove excessive complexity from update.sh
This commit is contained in:
commit
81359de62a
|
|
@ -4,7 +4,7 @@ Documentation for this image is stored in the [`%%REPO%%/` directory](https://gi
|
|||
|
||||
## Issues
|
||||
|
||||
If you have any problems with or questions about this image, please contact us %%MAILING-LIST%% through a [GitHub issue](%%GITHUB-REPO%%/issues). If the issue is related to a CVE, please check for [a `cve-tracker` issue on the `official-images` repository first](https://github.com/docker-library/official-images/issues?q=label%3Acve-tracker).
|
||||
If you have any problems with or questions about this image, please contact us through a [GitHub issue](%%GITHUB-REPO%%/issues). If the issue is related to a CVE, please check for [a `cve-tracker` issue on the `official-images` repository first](https://github.com/docker-library/official-images/issues?q=label%3Acve-tracker).
|
||||
|
||||
You can also reach many of the official image maintainers via the `#docker-library` IRC channel on [Freenode](https://freenode.net).
|
||||
|
||||
|
|
@ -12,4 +12,4 @@ You can also reach many of the official image maintainers via the `#docker-libra
|
|||
|
||||
You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.
|
||||
|
||||
Before you start to code, we recommend discussing your plans %%MAILING-LIST%% through a [GitHub issue](%%GITHUB-REPO%%/issues), especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.
|
||||
Before you start to code, we recommend discussing your plans through a [GitHub issue](%%GITHUB-REPO%%/issues), especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.
|
||||
|
|
|
|||
10
.travis.yml
10
.travis.yml
|
|
@ -39,6 +39,16 @@ script:
|
|||
echo >&2 "Too long (or too many lines):$failed";
|
||||
exit 1;
|
||||
fi
|
||||
- failed='';
|
||||
for repo in */; do
|
||||
if [ ! -e "$repo/github-repo" ]; then
|
||||
failed+=" $repo";
|
||||
fi
|
||||
done;
|
||||
if [ "$failed" ]; then
|
||||
echo >&2 "Missing github-repo for:$failed";
|
||||
exit 1;
|
||||
fi
|
||||
- if [ "$TRAVIS_PULL_REQUEST" != 'false' ]; then
|
||||
if [ "$(git diff --numstat "$TRAVIS_COMMIT_RANGE" -- '*/README.md')" ]; then
|
||||
echo >&2 'Error:'' at least one repo README.md has changed';
|
||||
|
|
|
|||
31
README.md
31
README.md
|
|
@ -12,16 +12,23 @@ All Markdown files here are run through [tianon's fork of `markdownfmt`](https:/
|
|||
- create a `README-short.txt` (required, 100 char max)
|
||||
- create a `content.md` (required)
|
||||
- create a `license.md` (required)
|
||||
- create a `github-repo` (required)
|
||||
- add a `logo.png` (recommended)
|
||||
- edit `update.sh` as needed (see below)
|
||||
- run `./markdownfmt.sh -l myimage` to verify that the format of your markdown files is compliant with `tianon/markdownfmt`. In case you see any file names, markdownfmt detected some issues, which might result in a failed build during continuous integration.
|
||||
- optionally run `./update.sh myimage` to generate `myimage/README.md` for review. **Note:** do not actually commit the `README.md` file; it is automatically generated/committed before being uploaded to DockerHub.
|
||||
|
||||
Optionally:
|
||||
|
||||
- run `./update.sh myimage` to generate `myimage/README.md` for your review. **Note:** do not actually commit the `README.md` file; it is automatically generated/committed before being uploaded to Docker Hub.
|
||||
- run `./markdownfmt.sh -l myimage` to verify whether format of your markdown files is compliant to `tianon/markdownfmt`. In case you see any file names, markdownfmt detected some issues, which might result in a failed build during continuous integration. run `./markdownfmt.sh -d myimage` to see a diff of changes required to pass.
|
||||
|
||||
# How do I update an image's docs
|
||||
|
||||
To update `README.md` for a specific image do not edit `README.md` directly. Please edit `content.md` or another appropriate file within the folder. To see the changes, run `./update.sh myimage` from the repo root, but do not add the `README.md` changes to your pull request. See also `markdownfmt.sh` point [above](#how-do-i-add-a-new-images-docs).
|
||||
|
||||
# What are all these files?
|
||||
|
||||
## `update.sh`
|
||||
|
||||
This is the main script used to generate the `README.md` files for each image. When a new image is added that is not under the `docker-library` namespace on GitHub, a new entry must be added to the `otherRepos` array in this script. Accepted arguments are which image(s) you want to update and no arguments to update all of them.
|
||||
This is the main script used to generate the `README.md` files for each image. The generated file is committed along with the files used to generate it (see below on what customizations are available). Accepted arguments are which image(s) you want to update or no arguments to update all of them.
|
||||
|
||||
## `generate-repo-stub-readme.sh`
|
||||
|
||||
|
|
@ -82,18 +89,18 @@ This file should contain a link to the license for the main software in the imag
|
|||
View [license information](http://golang.org/LICENSE) for the software contained in this image.
|
||||
```
|
||||
|
||||
## `<image name>/github-repo`
|
||||
|
||||
This file should contain the URL to the GitHub repository for the Dockerfiles that become the images. The file should be in a single line ending in a newline with no extraneous whitespace. Only one GitHub repo per image repository is supported. It is used in generating links. Here is an example for `golang`:
|
||||
|
||||
```text
|
||||
https://github.com/docker-library/golang
|
||||
```
|
||||
|
||||
## `<image name>/user-feedback.md`
|
||||
|
||||
This file is an optional override of the default `user-feedback.md` for those repositories with different issue and contributing policies.
|
||||
|
||||
## `<image name>/mailing-list.md`
|
||||
|
||||
This file is snippet that gets inserted into the user feedback section to provide and extra way to get help, like a mailing list. Here is an example from the Postgres image:
|
||||
|
||||
```markdown
|
||||
on the [mailing list](http://www.postgresql.org/community/lists/subscribe/) or
|
||||
```
|
||||
|
||||
# Issues and Contributing
|
||||
|
||||
If you would like to make a new Official Image, be sure to follow the [guidelines](https://docs.docker.com/docker-hub/official_repos/) and optionally talk to officialrepos@docker.com.
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/aerospike/aerospike-server.docker
|
||||
|
|
@ -1 +0,0 @@
|
|||
on the [Aerospike Forums](https://discuss.aerospike.com) or
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
## Documentation
|
||||
|
||||
Documentation for this image is stored in the [`%%REPO%%/` directory](https://github.com/docker-library/docs/tree/master/%%REPO%%) of the [`docker-library/docs` GitHub repo](https://github.com/docker-library/docs). Be sure to familiarize yourself with the [repository's `README.md` file](https://github.com/docker-library/docs/blob/master/README.md) before attempting a pull request.
|
||||
|
||||
## Issues
|
||||
|
||||
If you have any problems with or questions about this image, please contact us on the [Aerospike Forums](https://discuss.aerospike.com) or through a [GitHub issue](%%GITHUB-REPO%%/issues). If the issue is related to a CVE, please check for [a `cve-tracker` issue on the `official-images` repository first](https://github.com/docker-library/official-images/issues?q=label%3Acve-tracker).
|
||||
|
||||
You can also reach many of the official image maintainers via the `#docker-library` IRC channel on [Freenode](https://freenode.net).
|
||||
|
||||
## Contributing
|
||||
|
||||
You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.
|
||||
|
||||
Before you start to code, we recommend discussing your plans on the [Aerospike Forums](https://discuss.aerospike.com) or through a [GitHub issue](%%GITHUB-REPO%%/issues), especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/gliderlabs/docker-alpine
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/arangodb/arangodb-docker
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/backdrop-ops/backdrop-docker
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/Bonitasoft-Community/docker_bonita
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker-library/buildpack-deps
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker-library/busybox
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker-library/cassandra
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker-library/celery
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/CentOS/sig-cloud-instance-images
|
||||
|
|
@ -1 +0,0 @@
|
|||
by submitting a ticket at [https://bugs.centos.org](https://bugs.centos.org) or
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
## Documentation
|
||||
|
||||
Documentation for this image is stored in the [`%%REPO%%/` directory](https://github.com/docker-library/docs/tree/master/%%REPO%%) of the [`docker-library/docs` GitHub repo](https://github.com/docker-library/docs). Be sure to familiarize yourself with the [repository's `README.md` file](https://github.com/docker-library/docs/blob/master/README.md) before attempting a pull request.
|
||||
|
||||
## Issues
|
||||
|
||||
If you have any problems with or questions about this image, please contact us by submitting a ticket at [https://bugs.centos.org](https://bugs.centos.org) or through a [GitHub issue](%%GITHUB-REPO%%/issues). If the issue is related to a CVE, please check for [a `cve-tracker` issue on the `official-images` repository first](https://github.com/docker-library/official-images/issues?q=label%3Acve-tracker).
|
||||
|
||||
You can also reach many of the official image maintainers via the `#docker-library` IRC channel on [Freenode](https://freenode.net).
|
||||
|
||||
## Contributing
|
||||
|
||||
You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.
|
||||
|
||||
Before you start to code, we recommend discussing your plans by submitting a ticket at [https://bugs.centos.org](https://bugs.centos.org) or through a [GitHub issue](%%GITHUB-REPO%%/issues), especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/influxdata/chronograf-docker
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/ewindisch/docker-cirros
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/Quantisan/docker-clojure
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/hashicorp/docker-consul
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/couchbase/docker
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/klaemo/docker-couchdb
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/crate/docker-crate
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/therealprologic/docker-crux
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/tianon/docker-brew-debian
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker-library/django
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker/docker
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker-library/docker
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker-library/drupal
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker-library/elasticsearch
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/c0b/docker-elixir
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/c0b/docker-erlang-otp
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/lsm5/docker-brew-fedora
|
||||
|
|
@ -1 +0,0 @@
|
|||
by filing a bug on [Fedora's bugzilla page](https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora) (choose `docker` as component and include details about image problems in the description) or
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
## Documentation
|
||||
|
||||
Documentation for this image is stored in the [`%%REPO%%/` directory](https://github.com/docker-library/docs/tree/master/%%REPO%%) of the [`docker-library/docs` GitHub repo](https://github.com/docker-library/docs). Be sure to familiarize yourself with the [repository's `README.md` file](https://github.com/docker-library/docs/blob/master/README.md) before attempting a pull request.
|
||||
|
||||
## Issues
|
||||
|
||||
If you have any problems with or questions about this image, please contact us by filing a bug on [Fedora's bugzilla page](https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora) (choose `docker` as component and include details about image problems in the description) or through a [GitHub issue](%%GITHUB-REPO%%/issues). If the issue is related to a CVE, please check for [a `cve-tracker` issue on the `official-images` repository first](https://github.com/docker-library/official-images/issues?q=label%3Acve-tracker).
|
||||
|
||||
You can also reach many of the official image maintainers via the `#docker-library` IRC channel on [Freenode](https://freenode.net).
|
||||
|
||||
## Contributing
|
||||
|
||||
You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.
|
||||
|
||||
Before you start to code, we recommend discussing your plans by filing a bug on [Fedora's bugzilla page](https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora) (choose `docker` as component and include details about image problems in the description) or through a [GitHub issue](%%GITHUB-REPO%%/issues), especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/osrf/docker_images
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker-library/gcc
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker-library/ghost
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/aws/aws-eb-glassfish
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker-library/golang
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker-library/haproxy
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/freebroccolo/docker-haskell
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker-library/hello-world
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/dotcloud/hipache
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker-library/httpd
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/hylang/hy
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/influxdata/influxdb-docker
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/nodejs/docker-iojs
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/jfrazelle/irssi
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker-library/java
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/cloudbees/jenkins-ci.org-docker
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/appropriate/docker-jetty
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/joomla/docker-joomla
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/cpuguy83/docker-jruby
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker-library/julia
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/kaazing/gateway.docker
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/influxdata/kapacitor-docker
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker-library/kibana
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/Lightstreamer/Docker
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker-library/logstash
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/juanluisbaptiste/docker-brew-mageia
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker-library/mariadb
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/carlossg/docker-maven
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker-library/memcached
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/mongo-express/mongo-express-docker
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker-library/mongo
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/mono/docker
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker-library/mysql
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/nats-io/nats-docker
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/neo4j/docker-neo4j
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/neurodebian/dockerfiles
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/nginxinc/docker-nginx
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/nodejs/docker-node
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker/notary-official-images
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/nuxeo/docker-nuxeo
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/odoo/docker
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/openSUSE/docker-containers-build
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/oracle/docker
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/orientechnologies/orientdb-docker
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker-library/owncloud
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker-library/percona
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/Perl/docker-perl
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/frapposelli/photon-docker-image
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/zendtech/php-zendserver-docker
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker-library/php
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/piwik/docker-piwik
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker-library/postgres
|
||||
|
|
@ -1 +0,0 @@
|
|||
on the [mailing list](http://www.postgresql.org/community/lists/subscribe/) or
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
## Documentation
|
||||
|
||||
Documentation for this image is stored in the [`%%REPO%%/` directory](https://github.com/docker-library/docs/tree/master/%%REPO%%) of the [`docker-library/docs` GitHub repo](https://github.com/docker-library/docs). Be sure to familiarize yourself with the [repository's `README.md` file](https://github.com/docker-library/docs/blob/master/README.md) before attempting a pull request.
|
||||
|
||||
## Issues
|
||||
|
||||
If you have any problems with or questions about this image, please contact us on the [mailing list](http://www.postgresql.org/community/lists/subscribe/) or through a [GitHub issue](%%GITHUB-REPO%%/issues). If the issue is related to a CVE, please check for [a `cve-tracker` issue on the `official-images` repository first](https://github.com/docker-library/official-images/issues?q=label%3Acve-tracker).
|
||||
|
||||
You can also reach many of the official image maintainers via the `#docker-library` IRC channel on [Freenode](https://freenode.net).
|
||||
|
||||
## Contributing
|
||||
|
||||
You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.
|
||||
|
||||
Before you start to code, we recommend discussing your plans on the [mailing list](http://www.postgresql.org/community/lists/subscribe/) or through a [GitHub issue](%%GITHUB-REPO%%/issues), especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker-library/pypy
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker-library/python
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/rocker-org/rocker
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker-library/rabbitmq
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker-library/rails
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/perl6/docker
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker-library/redis
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker-library/redmine
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/docker/docker-registry
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://github.com/stuartpb/rethinkdb-dockerfiles
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue