Added debugger and profiler deps to Dockerfile
Former-commit-id: 805ed1cbef91065fa248d85003e87d3ba134f2ca
This commit is contained in:
parent
715bdbb04d
commit
4489afe137
|
@ -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