Added debugger and profiler deps to Dockerfile

Former-commit-id: 805ed1cbef91065fa248d85003e87d3ba134f2ca
This commit is contained in:
fermin831 2019-02-27 17:17:50 +01:00
parent 715bdbb04d
commit 4489afe137
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; \ chmod +x phantomjs; \
ln -s /opt/phantomjs/bin/phantomjs /usr/bin/; 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 #Exposing ports for: HTTP, SNMP Traps, Tentacle protocol
EXPOSE 80 162/udp 41121 EXPOSE 80 162/udp 41121