This commit is contained in:
Scott McCarty 2015-07-01 19:03:29 +00:00
commit 07d8e7482c
2 changed files with 16 additions and 4 deletions

View file

@ -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
View 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"]