"Fossies" - the Fresh Open Source Software Archive

Member "pandora_console/Dockerfile" (15 Sep 2021, 1263 Bytes) of package /linux/misc/pandorafms_console-7.0NG.757.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 	httpd \
   24 	cronie \
   25 	ntp \
   26 	openldap \
   27 	nfdump \
   28 	wget \
   29 	curl \
   30 	openldap \
   31 	plymouth \
   32 	xterm \
   33 	php \ 
   34 	php-gd \ 
   35 	graphviz \ 
   36 	php-mysql \ 
   37 	php-pear-DB \ 
   38 	php-pear \
   39 	php-pdo \
   40 	php-mbstring \ 
   41 	php-ldap \ 
   42 	php-snmp \ 
   43 	php-ldap \ 
   44 	php-common \ 
   45 	php-zip \ 
   46 	nmap \
   47 	net-snmp-utils \
   48 	mod_ssl \
   49 	xprobe2
   50 
   51 #Clone the repo
   52 RUN git clone -b develop https://github.com/pandorafms/pandorafms.git /tmp/pandorafms
   53 
   54 #Exposing ports for: HTTP, SNMP Traps, Tentacle protocol
   55 EXPOSE 80 162/udp 443 41121
   56 
   57 # Simple startup script to avoid some issues observed with container restart
   58 ADD docker_entrypoint.sh /entrypoint.sh
   59 RUN chmod -v +x /entrypoint.sh
   60 
   61 CMD ["/entrypoint.sh"]
   62