Commit 682761bc by luiz.nunes

Update Dockerfile

parent 6974444f
......@@ -6,8 +6,6 @@ EXPOSE 25
VOLUME ["/var/log", "/var/spool/postfix"]
RUN useradd postfix --gid 0 --uid 1001
RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 && \
yum updateinfo -y && \
yum update -y glibc && \
......@@ -17,6 +15,15 @@ RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 && \
yum clean all
RUN chmod -Rf g+w /etc/postfix && \
chmod -Rf g+w /var/log && \
chmod -Rf g+w /var/spool/postfix && \
chmod -Rf g+w /dev/log && \
# chmod -Rf g+w /etc/aliases.db && \
chmod -Rf g+w /etc/aliases
RUN curl https://bootstrap.pypa.io/get-pip.py | python3.4 && \
pip3 install chaperone
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment