Skip to content

Commit b283a78

Browse files
committed
(improv): desabilitando distributed_tracing_enabled do newrelic
1 parent 7f0c4a3 commit b283a78

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ENV XDEBUG_AUTOSTART=false
1616
ENV XDEBUG_CONNECT_BACK=true
1717
ENV XDEBUG_ENABLED=false
1818
ENV XDEBUG_IDEKEY="docker"
19-
ENV XDEBUG_VERSION=""
19+
ENV XDEBUG_VERSION="-3.1.6"
2020
ENV XDEBUG_REMOTE_PORT=9000
2121
ENV PHP_EXTENSION_WDDX=1
2222
ENV PHP_OPENSSL=1
@@ -60,7 +60,8 @@ RUN apt-get update && apt-get install -y -q --no-install-recommends --no-install
6060
&& sudo apt-get update && apt-get install -y -q --no-install-recommends --no-install-suggests newrelic-php5 \
6161
&& NR_INSTALL_USE_CP_NOT_LN=1 NR_INSTALL_SILENT=1 newrelic-install install \
6262
&& chown www-data:www-data /usr/local/etc/php/conf.d/newrelic.ini && chmod a+rw /usr/local/etc/php/conf.d/newrelic.ini \
63-
&& apt-get remove -y gnupg2 && rm -rf /var/lib/apt/lists/*
63+
&& apt-get remove -y gnupg2 && rm -rf /var/lib/apt/lists/* \
64+
echo "newrelic.distributed_tracing_enabled = false" | sudo tee -a /usr/local/etc/php/conf.d/newrelic.ini
6465

6566
RUN echo "---> Adding Tini" && \
6667
wget -O /tini https://github.com/krallin/tini/releases/download/v0.18.0/tini-static && \

0 commit comments

Comments
 (0)