From 0f0dc3c4e5cca3bc8c0fa39a462538a3982f1740 Mon Sep 17 00:00:00 2001 From: Rshad Zhran Date: Mon, 10 Feb 2020 16:27:24 +0100 Subject: [PATCH] Remove redundat command and clean APT list --- kitchen/wazuh-chef/Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kitchen/wazuh-chef/Dockerfile b/kitchen/wazuh-chef/Dockerfile index 3b4701fd07..d9e16fbb73 100644 --- a/kitchen/wazuh-chef/Dockerfile +++ b/kitchen/wazuh-chef/Dockerfile @@ -1,8 +1,7 @@ FROM ruby -RUN apt-get update && apt install docker.io git curl wget -y - -RUN apt-get update +RUN apt-get update && apt install docker.io git curl wget -y && \ + apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* RUN gem install kitchen-docker && \ gem install rbnacl && \