md lint and use labels

Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
Thomas Sjögren 2017-01-26 14:53:47 +01:00
parent 8fdb514dba
commit cc98e55b9d
2 changed files with 29 additions and 16 deletions
distros

View file

@ -3,16 +3,19 @@
## Requirements
### Dockerfile name
The format should be `Dockerfile.{distribution name}`.
The format should be `Dockerfile.{distribution name}`.
### Keep your images up-to-date
Use the distribution package manager to keep your image up-to-date.
### REPOSITORY
Add a `REPOSITORY` comment with the URL to your GitHub repository where the Dockerfile is present.
`# REPOSITORY <GitHub repository>`
### Labels
### MAINTAINER
Add the `MAINTAINER` instruction and your contact details, GitHub aliases are acceptable.
Use the following labels in your Dockerfile:
For an example Dockerfile, please refer to `Dockerfile.alpine`.
```
LABEL org.label-schema.name="docker-bench-security" \
org.label-schema.url="<YOUR GIT REPOSITORY HTTPS ADDRESS>" \
org.label-schema.vcs-url="<YOUR REPOSITORY HTTPS GIT ADDRESS"
```