mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-06-28 07:36:43 +00:00
Merge cf857e4388
into dbb8b8067e
This commit is contained in:
commit
07d8e7482c
2 changed files with 16 additions and 4 deletions
|
@ -1,8 +1,6 @@
|
|||
FROM alpine:3.1
|
||||
FROM centos
|
||||
|
||||
RUN apk update && \
|
||||
apk upgrade && \
|
||||
apk --update add docker
|
||||
RUN yum install -y docker net-tools audit procps-ng; yum clean all
|
||||
|
||||
RUN mkdir /docker-bench-security
|
||||
|
14
distros/Dockerfile.rhel
Normal file
14
distros/Dockerfile.rhel
Normal file
|
@ -0,0 +1,14 @@
|
|||
FROM rhel7
|
||||
|
||||
RUN yum install -y yum-utils; yum clean all
|
||||
RUN yum-config-manager --disable "*" &>/dev/null
|
||||
RUN yum-config-manager --enable rhel-7-server-rpms --enable rhel-7-server-extras-rpms
|
||||
RUN yum install -y docker net-tools audit procps-ng; yum clean all
|
||||
|
||||
RUN mkdir /docker-bench-security
|
||||
|
||||
COPY . /docker-bench-security
|
||||
|
||||
WORKDIR /docker-bench-security
|
||||
|
||||
ENTRYPOINT ["/bin/sh", "docker-bench-security.sh"]
|
Loading…
Add table
Add a link
Reference in a new issue