Dockerfile.xhprof_php56 314 B

123456789101112131415161718
  1. FROM php:5.6-cli
  2. RUN apt-get update && apt-get install -y graphviz && apt-get clean
  3. RUN pecl install xhprof-0.9.4 \
  4. && docker-php-ext-enable xhprof
  5. COPY ./prepend_xhprof.php /prepend.php
  6. COPY ./php.ini /usr/local/etc/php/
  7. COPY ./xhprof/xhprof_lib/utils /utils
  8. ENV SVG=$SVG
  9. ENV REPORT=$REPORT
  10. WORKDIR /code