Merge pull request #11635 from hyy0322/set-root-password-never-expire

fix: set root password never expire
This commit is contained in:
Qian Deng 2020-04-16 22:05:10 +08:00 committed by GitHub
commit 9c7caddeae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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/