"Fossies" - the Fresh Open Source Software Archive

Member "pandora_server/Dockerfile" (5 Nov 2021, 1353 Bytes) of package /linux/misc/pandorafms_server-7.0NG.758.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 FROM centos:centos6
    2 MAINTAINER Pandora FMS Team <info@pandorafms.com>
    3 
    4 RUN { \
    5 	echo '[EPEL]'; \
    6 	echo 'name = CentOS Epel'; \
    7 	echo 'baseurl = http://dl.fedoraproject.org/pub/epel/6/x86_64'; \
    8 	echo 'enabled=1'; \
    9 	echo 'gpgcheck=0'; \
   10 } > /etc/yum.repos.d/extra_repos.repo
   11 
   12 RUN { \
   13         echo '[artica_pandorafms]'; \
   14         echo 'name=CentOS6 - PandoraFMS official repo'; \
   15         echo 'baseurl=http://artica.es/centos6'; \
   16         echo 'gpgcheck=0'; \
   17         echo 'enabled=1'; \
   18 } > /etc/yum.repos.d/pandorafms.repo
   19 
   20 RUN yum -y update; yum clean all;
   21 RUN yum install -y \ 
   22 	git \
   23 	cronie \
   24 	ntp \
   25 	wget \
   26 	curl \
   27 	xterm \
   28 	postfix \
   29 	wmic \
   30 	perl-HTML-Tree \ 
   31 	perl-DBI \ 
   32 	perl-DBD-mysql \ 
   33 	perl-libwww-perl \ 
   34 	perl-XML-Simple \ 
   35 	perl-XML-SAX \ 
   36 	perl-NetAddr-IP \ 
   37 	net-snmp \ 
   38 	net-tools \ 
   39 	perl-IO-Socket-INET6 \ 
   40 	perl-Socket6 \ 
   41 	nmap \ 
   42 	sudo \ 
   43 	xprobe2 \ 
   44 	make \ 
   45 	perl-CPAN \ 
   46 	perl-JSON \ 
   47 	net-snmp-perl \ 
   48 	perl-Time-HiRes \ 
   49 	perl-XML-Twig \ 
   50 	perl-Encode-Locale \
   51 	net-snmp \
   52 	net-snmp-utils
   53 	
   54 
   55 #Clone the repo
   56 RUN git clone -b develop https://github.com/pandorafms/pandorafms.git /tmp/pandorafms
   57 
   58 #Exposing ports for: Tentacle protocol
   59 EXPOSE 41121
   60 
   61 # Simple startup script to avoid some issues observed with container restart
   62 ADD docker_entrypoint.sh /entrypoint.sh
   63 RUN chmod -v +x /entrypoint.sh
   64 
   65 CMD ["/entrypoint.sh"]
   66