mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-23 02:35:17 +01:00
Prepare rsyslog docker based on photon
This commit is contained in:
parent
b79b80c6ee
commit
2762eec4ed
@ -1,12 +1,5 @@
|
||||
FROM library/photon:1.0
|
||||
FROM vmware/rsyslog-photon:8.15.0
|
||||
|
||||
# run logrotate hourly, disable imklog model, provides TCP/UDP syslog reception
|
||||
RUN tdnf install -y cronie rsyslog shadow tar gzip \
|
||||
&& mkdir /etc/rsyslog.d/ \
|
||||
&& mkdir /var/spool/rsyslog \
|
||||
&& groupadd syslog \
|
||||
&& useradd -g syslog syslog
|
||||
|
||||
ADD make/common/log/rsyslog.conf /etc/rsyslog.conf
|
||||
|
||||
# rotate logs weekly
|
||||
|
Loading…
Reference in New Issue
Block a user