mirror of
https://github.com/docker/docker-bench-security.git
synced 2024-11-01 08:31:44 +01:00
9429cdd79f
Signed-off-by: Scott McCarty <smccarty@redhat.com>
18 lines
506 B
Text
18 lines
506 B
Text
# REPOSITORY https://github.com/fatherlinux/docker-bench-security
|
|
|
|
FROM rhel7
|
|
|
|
MAINTAINER smccarty@redhat.com
|
|
|
|
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"]
|