mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-22 08:38:03 +01:00
Merge pull request #11635 from hyy0322/set-root-password-never-expire
fix: set root password never expire
This commit is contained in:
commit
9c7caddeae
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user