Merge pull request #3423 from yixingjia/ossrsyslog

Update OSS in rsyslog images
This commit is contained in:
yixingjia 2017-10-23 21:11:51 -07:00 committed by GitHub
commit 160c716d83

View File

@ -1,9 +1,11 @@
FROM library/photon:1.0
FROM vmware/photon:1.0
#base image for rsyslog base on photon
RUN tdnf install -y cronie rsyslog shadow tar gzip \
RUN tdnf distro-sync -y \
&& tdnf install -y cronie rsyslog shadow tar gzip \
&& mkdir /etc/rsyslog.d/ \
&& mkdir /var/spool/rsyslog \
&& groupadd syslog \
&& useradd -g syslog syslog
&& useradd -g syslog syslog \
&& tdnf clean all