|
@@ -263,7 +263,7 @@ ARG INSTALL_XHPROF=false
|
|
|
RUN if [ ${INSTALL_XHPROF} = true ]; then \
|
|
|
# Install the php xhprof extension
|
|
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = 7 ]; then \
|
|
|
- curl -L -o /tmp/xhprof.tar.gz "https://github.com/tideways/php-xhprof-extension/archive/v4.1.6.tar.gz"; \
|
|
|
+ curl -L -o /tmp/xhprof.tar.gz "https://github.com/tideways/php-xhprof-extension/archive/v4.1.7.tar.gz"; \
|
|
|
else \
|
|
|
curl -L -o /tmp/xhprof.tar.gz "https://codeload.github.com/phacility/xhprof/tar.gz/master"; \
|
|
|
fi \
|
|
@@ -282,6 +282,10 @@ RUN if [ ${INSTALL_XHPROF} = true ]; then \
|
|
|
|
|
|
COPY ./xhprof.ini /usr/local/etc/php/conf.d
|
|
|
|
|
|
+RUN if [ ${INSTALL_XHPROF} = false ]; then \
|
|
|
+ rm /usr/local/etc/php/conf.d/xhprof.ini \
|
|
|
+;fi
|
|
|
+
|
|
|
###########################################################################
|
|
|
# AMQP:
|
|
|
###########################################################################
|