Merge branch 'ent-7067-agent-docker-change' into 'develop'

change agent docker image to centos7

See merge request artica/pandorafms!3862
This commit is contained in:
Daniel Rodriguez 2021-03-16 13:46:07 +00:00
commit 785fa8f076

View File

@ -1,15 +1,15 @@
FROM centos:centos8 FROM centos:7
MAINTAINER Pandora FMS Team <info@pandorafms.com> LABEL maintainer="Pandora FMS Team <info@pandorafms.com>"
# Add Pandora FMS agent installer # Add Pandora FMS agent installer
ADD unix /opt/pandora/pandora_agent/unix ADD unix /opt/pandora/pandora_agent/unix
RUN export LC_ALL=C RUN export LC_ALL=C
RUN dnf install -y dnf-plugins-core; dnf config-manager --set-enabled PowerTools RUN yum -y update
# Install dependencies # Install dependencies
RUN dnf -y install \ RUN yum -y install \
epel-release \ epel-release \
unzip \ unzip \
perl \ perl \
@ -17,7 +17,7 @@ RUN dnf -y install \
sed \ sed \
perl-YAML-Tiny \ perl-YAML-Tiny \
"perl(Sys::Syslog)" \ "perl(Sys::Syslog)" \
&& dnf clean all && yum clean all
# Install Pandora FMS agent # Install Pandora FMS agent