mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-19 08:42:33 +01:00
use debian:wheezy as base image
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
parent
69de1eb93d
commit
9bd50d5802
1 changed files with 11 additions and 2 deletions
13
Dockerfile
13
Dockerfile
|
@ -1,6 +1,15 @@
|
||||||
FROM alpine:3.1
|
FROM debian:wheezy
|
||||||
|
|
||||||
RUN apk --update add docker
|
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 purge git openssh* patch rsync* && \
|
||||||
|
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
|
RUN mkdir /docker-bench-security
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue