fix: set root password never expire

Signed-off-by: Yiyang Huang <huangyiyang@caicloud.io>
This commit is contained in:
Yiyang Huang 2020-04-16 00:10:47 +08:00
parent 8a0e8627ff
commit 4598f52057

View File

@ -17,6 +17,8 @@ COPY ./make/photon/log/start.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/start.sh /etc/rsyslog.d/ && \ RUN chmod +x /usr/local/bin/start.sh /etc/rsyslog.d/ && \
chown -R 10000:10000 /etc/rsyslog.conf /etc/rsyslog.d/ /run /var/lib/logrotate/ chown -R 10000:10000 /etc/rsyslog.conf /etc/rsyslog.d/ /run /var/lib/logrotate/
RUN chage -M 99999 root
HEALTHCHECK CMD netstat -ltun|grep 10514 HEALTHCHECK CMD netstat -ltun|grep 10514
VOLUME /var/log/docker/ /run/ /etc/logrotate.d/ VOLUME /var/log/docker/ /run/ /etc/logrotate.d/