mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-02 22:18:29 +01:00
fix: set root password never expire
Signed-off-by: Yiyang Huang <huangyiyang@caicloud.io>
This commit is contained in:
parent
8a0e8627ff
commit
4598f52057
@ -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/
|
||||||
|
Loading…
Reference in New Issue
Block a user