Update OSS in rsyslog images

1> change to new photon base images
2> update OSS to latest
This commit is contained in:
yixingj 2017-10-23 12:02:22 +08:00
parent 95743f9a81
commit 535e7cadd5
2 changed files with 6 additions and 4 deletions

View File

@ -1,9 +1,11 @@
FROM library/photon:1.0
FROM vmware/photon:1.0-20170928
#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

View File

@ -1,4 +1,4 @@
FROM vmware/rsyslog-photon:8.15.0
FROM vmware/rsyslog-photon:8.15.0-6
ADD make/common/log/rsyslog.conf /etc/rsyslog.conf