Now using new base image

This commit is contained in:
Deon George 2017-07-23 19:27:12 +10:00
parent adf7eef060
commit 44c9febd7a

View File

@ -2,9 +2,7 @@
# VERSION latest # VERSION latest
# BUILD docker build -t="leenooks/smtp" . # BUILD docker build -t="leenooks/smtp" .
FROM registry.leenooks.net/leenooks/base:7 FROM registry.leenooks.net/leenooks/base:7.E
RUN yum -y install epel-release && yum clean all
# EPEL & Leenooks packages # EPEL & Leenooks packages
RUN yum -y install \ RUN yum -y install \
@ -16,8 +14,6 @@ RUN yum -y install \
milter-greylist \ milter-greylist \
&& yum clean all && yum clean all
# ln-mail-client \
RUN useradd -rc "HUB Mail Relay" -M relay -NG mail -s /sbin/nologin -p SmTpR3l@Y RUN useradd -rc "HUB Mail Relay" -M relay -NG mail -s /sbin/nologin -p SmTpR3l@Y
EXPOSE 25 EXPOSE 25