Skip to content

Commit d754140

Browse files
committed
(improv): habilitando newrelic php 8.4
1 parent dd1396b commit d754140

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

Dockerfile

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ENV \
1414
XDEBUG_CONNECT_BACK=true \
1515
XDEBUG_ENABLED=false \
1616
XDEBUG_IDEKEY="docker" \
17-
XDEBUG_VERSION="-3.4.0beta1" \
17+
XDEBUG_VERSION="-3.4.1" \
1818
REDIS_VERSION="-6.1.0" \
1919
IMAP_VERSION="" \
2020
XDEBUG_REMOTE_PORT=9000 \
@@ -66,19 +66,18 @@ RUN echo "---> Adding Tini" && \
6666
wget -O /tini https://github.com/krallin/tini/releases/download/v0.18.0/tini-static && \
6767
chmod +x /tini
6868

69-
# reativar quando liberar
70-
# RUN echo "---> Adding NewRelic" && \
71-
# apt-get update && apt-get install -y -q --no-install-recommends --no-install-suggests gnupg2 \
72-
# && echo 'deb http://apt.newrelic.com/debian/ newrelic non-free' | sudo tee /etc/apt/sources.list.d/newrelic.list \
73-
# && wget -O- https://download.newrelic.com/548C16BF.gpg | sudo apt-key add - \
74-
# && sudo apt-get update && apt-get install -y -q --no-install-recommends --no-install-suggests newrelic-php5 \
75-
# && NR_INSTALL_USE_CP_NOT_LN=1 NR_INSTALL_SILENT=1 newrelic-install install \
76-
# && cp /usr/lib/newrelic-php5/scripts/newrelic.ini.template /usr/local/etc/php/conf.d/newrelic.ini \
77-
# && chown www-data:www-data /usr/local/etc/php/conf.d/newrelic.ini && chmod a+rw /usr/local/etc/php/conf.d/newrelic.ini \
78-
# && apt-get remove -y gnupg2 && rm -rf /var/lib/apt/lists/* #\
79-
# && echo "newrelic.distributed_tracing_enabled = false" | sudo tee -a /usr/local/etc/php/conf.d/newrelic.ini \
80-
# && echo "newrelic.application_logging.enabled = false" | sudo tee -a /usr/local/etc/php/conf.d/newrelic.ini \
81-
# && echo "newrelic.enabled = false" | sudo tee -a /usr/local/etc/php/conf.d/newrelic.ini
69+
RUN echo "---> Adding NewRelic" && \
70+
apt-get update && apt-get install -y -q --no-install-recommends --no-install-suggests gnupg2 \
71+
&& echo 'deb http://apt.newrelic.com/debian/ newrelic non-free' | sudo tee /etc/apt/sources.list.d/newrelic.list \
72+
&& wget -O- https://download.newrelic.com/548C16BF.gpg | sudo apt-key add - \
73+
&& sudo apt-get update && apt-get install -y -q --no-install-recommends --no-install-suggests newrelic-php5 \
74+
&& NR_INSTALL_USE_CP_NOT_LN=1 NR_INSTALL_SILENT=1 newrelic-install install \
75+
&& cp /usr/lib/newrelic-php5/scripts/newrelic.ini.template /usr/local/etc/php/conf.d/newrelic.ini \
76+
&& chown www-data:www-data /usr/local/etc/php/conf.d/newrelic.ini && chmod a+rw /usr/local/etc/php/conf.d/newrelic.ini \
77+
&& apt-get remove -y gnupg2 && rm -rf /var/lib/apt/lists/* #\
78+
&& echo "newrelic.distributed_tracing_enabled = false" | sudo tee -a /usr/local/etc/php/conf.d/newrelic.ini \
79+
&& echo "newrelic.application_logging.enabled = false" | sudo tee -a /usr/local/etc/php/conf.d/newrelic.ini \
80+
&& echo "newrelic.enabled = false" | sudo tee -a /usr/local/etc/php/conf.d/newrelic.ini
8281

8382
RUN echo "---> Config sudoers" && \
8483
echo "www-data ALL = ( ALL ) NOPASSWD: ALL" >> /etc/sudoers

0 commit comments

Comments
 (0)