mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-18 16:22:33 +01:00
Merge pull request #54 from konstruktoid/distros_debian
Add Debian Dockerfile
This commit is contained in:
commit
dbb8b8067e
1 changed files with 25 additions and 0 deletions
25
distros/Dockerfile.debian
Normal file
25
distros/Dockerfile.debian
Normal file
|
@ -0,0 +1,25 @@
|
|||
# REPOSITORY https://github.com/konstruktoid/docker-bench-security/
|
||||
|
||||
FROM debian:wheezy
|
||||
|
||||
MAINTAINER Thomas Sjögren <konstruktoid@users.noreply.github.com>
|
||||
|
||||
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"]
|
Loading…
Reference in a new issue