Add sed command

This commit is contained in:
Jonathan Ervine 2020-12-30 00:09:50 +08:00
parent c2ba23617a
commit 700e0b9245

View File

@ -12,7 +12,8 @@ ENV LANG='en_US.UTF-8' \
PM_UID='1003' \
PM_GID='1003'
RUN zypper -n in tar wget gzip shadow && \
RUN zypper -n in tar wget gzip && \
sed -i 's/^CREATE_MAIL_SPOOL=yes/CREATE_MAIL_SPOOL=no/' /etc/default/useradd && \
/usr/sbin/groupadd -g $PM_GID $PM_GROUP && \
/usr/sbin/useradd -u $PM_UID -g $PM_GROUP -M $PM_USER && \
mkdir /pmmp && \