mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-25 19:56:09 +01:00
5e130bd06c
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
8 lines
272 B
Docker
8 lines
272 B
Docker
FROM photon:5.0
|
|
|
|
RUN tdnf install -y cronie rsyslog logrotate shadow tar gzip sudo >> /dev/null\
|
|
&& mkdir /var/spool/rsyslog \
|
|
&& groupadd -r -g 10000 syslog && useradd --no-log-init -r -g 10000 -u 10000 syslog \
|
|
&& tdnf clean all \
|
|
&& chage -M 99999 root
|