Dockerfile.uprofiler_php56 456 B

12345678910111213141516171819202122232425
  1. FROM php:5.6-cli
  2. RUN apt-get update && apt-get install -y graphviz && apt-get clean
  3. COPY ./uprofiler/extension /extension
  4. RUN cd /extension && \
  5. phpize && \
  6. ./configure && \
  7. make && \
  8. make install && \
  9. rm -rf /extension && \
  10. docker-php-ext-enable uprofiler
  11. COPY ./prepend_uprofiler.php /prepend.php
  12. COPY ./php.ini /usr/local/etc/php/
  13. COPY ./xhprof/xhprof_lib/utils /utils
  14. ENV SVG=$SVG
  15. ENV REPORT=$REPORT
  16. WORKDIR /code