mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-01 08:09:59 +01:00
fix: set root password never expire (#11851)
Signed-off-by: Yiyang Huang <huangyiyang@caicloud.io> Co-authored-by: Yiyang Huang <huangyiyang@caicloud.io>
This commit is contained in:
parent
23fdb7fa81
commit
d6cab4fb8e
@ -16,6 +16,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