From 828bfb4a168bae6652ea16ed71f1932d3da8ceac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Sj=C3=B6gren?= Date: Wed, 1 Jul 2015 20:57:26 +0200 Subject: [PATCH] Add Debian Dockerfile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Thomas Sjögren --- distros/Dockerfile.debian | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 distros/Dockerfile.debian diff --git a/distros/Dockerfile.debian b/distros/Dockerfile.debian new file mode 100644 index 0000000..ce991a7 --- /dev/null +++ b/distros/Dockerfile.debian @@ -0,0 +1,25 @@ +# REPOSITORY https://github.com/konstruktoid/docker-bench-security/ + +FROM debian:wheezy + +MAINTAINER Thomas Sjögren + +RUN \ + apt-get update && \ + apt-get -y upgrade && \ + apt-get -y install auditd ca-certificates curl \ + gawk net-tools procps --no-install-recommends && \ + curl -sSL https://get.docker.com/ | sh && \ + apt-get -y clean && \ + apt-get -y autoremove && \ + rm -rf /var/lib/apt/lists/* \ + /usr/share/doc /usr/share/doc-base \ + /usr/share/man /usr/share/locale /usr/share/zoneinfo + +RUN mkdir /docker-bench-security + +COPY . /docker-bench-security + +WORKDIR /docker-bench-security + +ENTRYPOINT ["/bin/sh", "docker-bench-security.sh"]