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:
commit
9e87585e4b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue