Commit 037dd5e9 by luiz.nunes

Update Dockerfile

parent 0a4fb156
......@@ -8,8 +8,6 @@ VOLUME ["/var/log", "/var/spool/postfix"]
RUN useradd postfix --gid 0 --uid 1001
USER postfix
RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 && \
yum updateinfo -y && \
yum update -y glibc && \
......@@ -18,7 +16,6 @@ RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 && \
yum install -y python34-devel postfix cyrus-sasl cyrus-sasl-plain mailx && \
yum clean all
RUN useradd -G cartoons jerry
RUN chmod -Rf g+w /etc/postfix && \
chmod -Rf g+w /var/log && \
......@@ -35,4 +32,5 @@ COPY chaperone.conf /etc/chaperone.d/chaperone.conf
COPY docker-setup.sh /docker-setup.sh
RUN chmod +x /docker-setup.sh
ENTRYPOINT ["/usr/bin/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