mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-18 16:22:33 +01:00
Replaced net-tools with iproute2 in Dockerfiles
Signed-off-by: Karol Babioch <kbabioch@suse.de>
This commit is contained in:
parent
997ce7330e
commit
f5542683c5
4 changed files with 4 additions and 4 deletions
|
@ -4,7 +4,7 @@ FROM centos
|
|||
|
||||
MAINTAINER smccarty@redhat.com
|
||||
|
||||
RUN yum install -y docker net-tools audit procps-ng; yum clean all
|
||||
RUN yum install -y docker iproute audit procps-ng; yum clean all
|
||||
|
||||
RUN mkdir /docker-bench-security
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ RUN \
|
|||
apt-get update && \
|
||||
apt-get -y upgrade && \
|
||||
apt-get -y install auditd ca-certificates docker.io \
|
||||
gawk net-tools procps --no-install-recommends && \
|
||||
gawk iproute2 procps --no-install-recommends && \
|
||||
apt-get -y clean && \
|
||||
apt-get -y autoremove && \
|
||||
rm -rf /var/lib/apt/lists/* \
|
||||
|
|
|
@ -4,7 +4,7 @@ FROM opensuse
|
|||
|
||||
MAINTAINER security@suse.com
|
||||
|
||||
RUN zypper -n in docker net-tools audit
|
||||
RUN zypper -n in docker iproute2 audit
|
||||
|
||||
RUN mkdir /docker-bench-security
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ MAINTAINER smccarty@redhat.com
|
|||
RUN yum install -y yum-utils; yum clean all
|
||||
RUN yum-config-manager --disable "*" &>/dev/null
|
||||
RUN yum-config-manager --enable rhel-7-server-rpms --enable rhel-7-server-extras-rpms
|
||||
RUN yum install -y docker net-tools audit procps-ng; yum clean all
|
||||
RUN yum install -y docker iproute audit procps-ng; yum clean all
|
||||
|
||||
RUN mkdir /docker-bench-security
|
||||
|
||||
|
|
Loading…
Reference in a new issue