Clean up yum cahches.
This commit is contained in:
parent
20decfd2f9
commit
463f87bce4
@ -4,7 +4,9 @@ MAINTAINER Juan Luis Baptiste juan.baptiste@gmail.com
|
|||||||
|
|
||||||
RUN yum install -y epel-release && yum update -y && \
|
RUN yum install -y epel-release && yum update -y && \
|
||||||
yum install -y cyrus-sasl cyrus-sasl-plain cyrus-sasl-md5 mailx \
|
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/^nodaemon=false/nodaemon=true/" /etc/supervisord.conf
|
||||||
RUN sed -i -e 's/inet_interfaces = localhost/inet_interfaces = all/g' /etc/postfix/main.cf
|
RUN sed -i -e 's/inet_interfaces = localhost/inet_interfaces = all/g' /etc/postfix/main.cf
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user