Dockerfile 246 B

1234567
  1. FROM daocloud.io/library/centos:centos7
  2. LABEL Name=postfix Version=0.0.1
  3. RUN yum install postfix
  4. RUN sed -i "s|inet_protocols = all|inet_protocols = ipv4|g" /etc/postfix/main.cf
  5. RUN rm -Rf /var/lib/apt/lists/*
  6. CMD ["/usr/sbin/postfix", "start"]