From 4598f520578aea0792686aede780ba9f1611d688 Mon Sep 17 00:00:00 2001 From: Yiyang Huang Date: Thu, 16 Apr 2020 00:10:47 +0800 Subject: [PATCH] fix: set root password never expire Signed-off-by: Yiyang Huang --- make/photon/log/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/make/photon/log/Dockerfile b/make/photon/log/Dockerfile index 3428d4079..da9719b8d 100644 --- a/make/photon/log/Dockerfile +++ b/make/photon/log/Dockerfile @@ -17,6 +17,8 @@ COPY ./make/photon/log/start.sh /usr/local/bin/ 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/ +RUN chage -M 99999 root + HEALTHCHECK CMD netstat -ltun|grep 10514 VOLUME /var/log/docker/ /run/ /etc/logrotate.d/