mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-31 22:32:34 +01:00
* Dockerfile specific for RHEL
Scott M
This commit is contained in:
parent
d48d691ec2
commit
de207ca1ee
1 changed files with 14 additions and 0 deletions
14
Dockerfile.rhel
Normal file
14
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…
Reference in a new issue