From 463f87bce4fb55cd1376e91148cc0a6024c94198 Mon Sep 17 00:00:00 2001 From: watiko Date: Thu, 24 May 2018 12:32:10 +0900 Subject: [PATCH] Clean up yum cahches. --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c986683..d096360 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,9 @@ MAINTAINER Juan Luis Baptiste juan.baptiste@gmail.com RUN yum install -y epel-release && yum update -y && \ yum install -y cyrus-sasl cyrus-sasl-plain cyrus-sasl-md5 mailx \ - perl supervisor postfix rsyslog + perl supervisor postfix rsyslog \ + && rm -rf /var/cache/yum/* \ + && yum clean all RUN sed -i -e "s/^nodaemon=false/nodaemon=true/" /etc/supervisord.conf RUN sed -i -e 's/inet_interfaces = localhost/inet_interfaces = all/g' /etc/postfix/main.cf