Commit 4ea99024 by luiz.nunes

Update Dockerfile

parent 1598966e
...@@ -6,6 +6,10 @@ EXPOSE 25 ...@@ -6,6 +6,10 @@ EXPOSE 25
VOLUME ["/var/log", "/var/spool/postfix"] VOLUME ["/var/log", "/var/spool/postfix"]
USER 1001
RUN useradd -u 1001 -r -g 0
RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 && \ RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 && \
yum updateinfo -y && \ yum updateinfo -y && \
yum update -y glibc && \ yum update -y glibc && \
...@@ -24,5 +28,3 @@ COPY docker-setup.sh /docker-setup.sh ...@@ -24,5 +28,3 @@ COPY docker-setup.sh /docker-setup.sh
RUN chmod +x /docker-setup.sh RUN chmod +x /docker-setup.sh
ENTRYPOINT ["/usr/bin/chaperone"] ENTRYPOINT ["/usr/bin/chaperone"]
USER 1001
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