Skip to content

Commit

Permalink
fix: set root password never expire (#12672)
Browse files Browse the repository at this point in the history
Signed-off-by: Yiyang Huang <huangyiyang@caicloud.io>

Co-authored-by: Yiyang Huang <huangyiyang@caicloud.io>
  • Loading branch information
ninjadq and hyy0322 committed Aug 7, 2020
1 parent a464c40 commit 7a2f273
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion make/photon/log/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ 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/

HEALTHCHECK CMD netstat -ltu|grep 10514
RUN chage -M 99999 root

HEALTHCHECK CMD netstat -ltun|grep 10514

VOLUME /var/log/docker/ /run/ /etc/logrotate.d/

Expand Down

0 comments on commit 7a2f273

Please sign in to comment.