From f5542683c50ea28969a012361239eacb3b7cd820 Mon Sep 17 00:00:00 2001 From: Karol Babioch Date: Fri, 12 Jan 2018 10:44:04 +0100 Subject: [PATCH] Replaced net-tools with iproute2 in Dockerfiles Signed-off-by: Karol Babioch --- distros/Dockerfile.centos | 2 +- distros/Dockerfile.debian | 2 +- distros/Dockerfile.openSUSE | 2 +- distros/Dockerfile.rhel | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/distros/Dockerfile.centos b/distros/Dockerfile.centos index 1fa0ea4..4c0dcfb 100644 --- a/distros/Dockerfile.centos +++ b/distros/Dockerfile.centos @@ -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 diff --git a/distros/Dockerfile.debian b/distros/Dockerfile.debian index 0833424..4284f54 100644 --- a/distros/Dockerfile.debian +++ b/distros/Dockerfile.debian @@ -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/* \ diff --git a/distros/Dockerfile.openSUSE b/distros/Dockerfile.openSUSE index e841ffe..9e455f0 100644 --- a/distros/Dockerfile.openSUSE +++ b/distros/Dockerfile.openSUSE @@ -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 diff --git a/distros/Dockerfile.rhel b/distros/Dockerfile.rhel index 7c7f8d8..c1b5618 100644 --- a/distros/Dockerfile.rhel +++ b/distros/Dockerfile.rhel @@ -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