diff --git a/distros/Dockerfile.centos b/distros/Dockerfile.centos new file mode 100644 index 0000000..81e2824 --- /dev/null +++ b/distros/Dockerfile.centos @@ -0,0 +1,15 @@ +# REPOSITORY https://github.com/fatherlinux/docker-bench-security + +MAINTAINER smccarty@redhat.com + +FROM centos + +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"] diff --git a/distros/Dockerfile.rhel b/distros/Dockerfile.rhel new file mode 100644 index 0000000..7c7f8d8 --- /dev/null +++ b/distros/Dockerfile.rhel @@ -0,0 +1,18 @@ +# 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"]