mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-18 16:22:33 +01:00
commit
f9fc158951
2 changed files with 35 additions and 0 deletions
17
distros/Dockerfile.alpine
Normal file
17
distros/Dockerfile.alpine
Normal file
|
@ -0,0 +1,17 @@
|
|||
# REPOSITORY https://github.com/docker/docker-bench-security
|
||||
|
||||
MAINTAINER dockerbench.com
|
||||
|
||||
FROM alpine:3.1
|
||||
|
||||
RUN apk update && \
|
||||
apk upgrade && \
|
||||
apk --update add docker
|
||||
|
||||
RUN mkdir /docker-bench-security
|
||||
|
||||
COPY . /docker-bench-security
|
||||
|
||||
WORKDIR /docker-bench-security
|
||||
|
||||
ENTRYPOINT ["/bin/sh", "docker-bench-security.sh"]
|
18
distros/README.md
Normal file
18
distros/README.md
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Distribution specific Dockerfiles
|
||||
|
||||
## Requirements
|
||||
|
||||
### Dockerfile 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>`
|
||||
|
||||
### MAINTAINER
|
||||
Add the `MAINTAINER` instruction and your contact details, GitHub aliases are acceptable.
|
||||
|
||||
For an example Dockerfile, please refer to `Dockerfile.alpine`.
|
Loading…
Reference in a new issue