From 7badd1bdec38d178ba407f6196f2f3e6145140f9 Mon Sep 17 00:00:00 2001 From: Manuel Gutierrez <1380243+xr09@users.noreply.github.com> Date: Tue, 25 Aug 2020 14:30:50 +0200 Subject: [PATCH] Fix package cleanup --- wazuh-opendistro/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wazuh-opendistro/Dockerfile b/wazuh-opendistro/Dockerfile index f17b6d21..b81723c6 100644 --- a/wazuh-opendistro/Dockerfile +++ b/wazuh-opendistro/Dockerfile @@ -18,7 +18,7 @@ RUN rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH RUN yum --enablerepo=updates clean metadata && \ curl --fail --silent https://packages-dev.wazuh.com/warehouse/test/4.0/rpm/var/wazuh-manager-${WAZUH_VERSION}.x86_64.rpm \ -o wazuh-manager.rpm && \ - yum -y install openssl which && yum -y install wazuh-manager.rpm -y && rm -f wazuh-manager.rpm \ + yum -y install openssl which && yum -y install wazuh-manager.rpm -y && rm -f wazuh-manager.rpm && \ yum clean all && rm -rf /var/cache/yum # sed -i "s/^enabled=1/enabled=0/" /etc/yum.repos.d/wazuh.repo && \