mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-05-19 15:45:31 +00:00
md lint and use labels
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
parent
8fdb514dba
commit
cc98e55b9d
2 changed files with 29 additions and 16 deletions
distros
|
@ -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"
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue