mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-19 00:32:34 +01:00
65f1ac935a
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
24 lines
672 B
Text
24 lines
672 B
Text
# REPOSITORY https://github.com/konstruktoid/docker-bench-security/
|
|
|
|
FROM debian:stretch
|
|
|
|
MAINTAINER Thomas Sjögren <konstruktoid@users.noreply.github.com>
|
|
|
|
RUN \
|
|
apt-get update && \
|
|
apt-get -y upgrade && \
|
|
apt-get -y install auditd ca-certificates docker.io\
|
|
gawk net-tools procps --no-install-recommends && \
|
|
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"]
|