mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-18 16:22:33 +01:00
553c11f3a9
debian:sid -> debian:sid@sha256:022a3cafe84d704c272794863ca5e383667c99312358e816ad1ff6e9a41ce4f6 [atomist:generated] [atomist-skill:atomist/docker-base-image-policy] Signed-off-by: Atomist Bot <bot@atomist.com>
24 lines
834 B
Text
24 lines
834 B
Text
FROM debian:sid@sha256:022a3cafe84d704c272794863ca5e383667c99312358e816ad1ff6e9a41ce4f6
|
|
|
|
LABEL org.label-schema.name="docker-bench-security" \
|
|
org.label-schema.url="https://github.com/konstruktoid/docker-bench-security" \
|
|
org.label-schema.vcs-url="https://github.com/konstruktoid/docker-bench-security.git"
|
|
|
|
RUN \
|
|
apt-get update && \
|
|
apt-get -y upgrade && \
|
|
apt-get -y install auditd ca-certificates docker.io \
|
|
gawk iproute2 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"]
|