-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
35 lines (33 loc) · 1.44 KB
/
Dockerfile
File metadata and controls
35 lines (33 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
FROM centos:8
LABEL maintainer="var-dev@github"
LABEL cisco.descriptor-schema-version="2.6" \
cisco.info.name="rsyslog" \
cisco.info.description="Cisco iox rsyslog" \
cisco.info.version="0.1" \
cisco.info.author-link=" https://github.com/var-dev/iox-rsyslog " \
cisco.info.author-name="var-dev" \
cisco.type=docker \
cisco.cpuarch=x86_64 \
cisco.resources.profile=custom \
cisco.resources.cpu=800 \
cisco.resources.memory=2048 \
cisco.resources.disk=10 \
cisco.resources.network.0.interface-name=eth0 \
cisco.resources.network.0.ports.udp=514 \
cisco.resources.network.1.interface-name=eth1 \
cisco.resources.network.1.ports.udp=514 \
# cisco.monitor.script="healthprobe.sh" \
cisco.startup.rootfs="rootfs.tar" \
cisco.startup.target="/bin/runapp.sh"
RUN curl http://rpms.adiscon.com/v8-stable/rsyslog.repo --output /etc/yum.repos.d/rsyslog.repo \
&& yum -y install \
net-tools \
rsyslog-8.2010.0-1.el8.x86_64 \
rsyslog-elasticsearch-8.2010.0-1.el8.x86_64 \
rsyslog-mmjsonparse-8.2010.0-1.el8.x86_64 \
rsyslog-mmnormalize-8.2010.0-1.el8.x86_64 \
rsyslog-pmciscoios-8.2010.0-1.el8.x86_64 \
&& yum -y clean all \
&& rm -rf /var/cache/yum
COPY rsyslog.conf /etc/rsyslog.conf
COPY runapp.sh /bin/runapp.sh