Merge branch 'ent-3618-meter-las-dependencias-del-modo-debug-en-la-imagen-de-docker' into 'develop'

Added debugger and profiler deps to Dockerfile

See merge request artica/pandorafms!2220

Former-commit-id: 82ba7af10d0d644fc91e2af5d0a43b21afa6f27d
This commit is contained in:
fermin 2019-03-06 15:47:55 +01:00
commit 9e87585e4b
1 changed files with 18 additions and 0 deletions

View File

@ -126,5 +126,23 @@ RUN mkdir -p /opt/phantomjs/bin && cd /opt/phantomjs/bin; \
chmod +x phantomjs; \
ln -s /opt/phantomjs/bin/phantomjs /usr/bin/;
# Install debugg dependencies.
RUN yum install -y \
php-devel \
php-pear \
gcc \
gcc-c++ \
autoconf \
automake && \
pecl install Xdebug && \
git clone https://github.com/tideways/php-xhprof-extension && \
cd php-xhprof-extension && \
phpize && \
./configure && \
make && \
make install && \
cd .. && \
rm -rf php-xhprof-extension
#Exposing ports for: HTTP, SNMP Traps, Tentacle protocol
EXPOSE 80 162/udp 41121