From 2762eec4ed0d058b2193e85f8b6cc98a59c22a59 Mon Sep 17 00:00:00 2001 From: yixingj Date: Mon, 3 Jul 2017 17:57:46 +0800 Subject: [PATCH] Prepare rsyslog docker based on photon --- make/photon/log/Dockerfile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/make/photon/log/Dockerfile b/make/photon/log/Dockerfile index 2b00f7477..e103d530e 100644 --- a/make/photon/log/Dockerfile +++ b/make/photon/log/Dockerfile @@ -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