File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,16 @@ RUN echo "---> Configure Opcache" && \
57
57
echo "opcache.enable=0" >> /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini && \
58
58
echo "opcache.enable_cli=0" >> /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini
59
59
60
+ RUN echo "---> Adding NewRelic" && \
61
+ apt-get update && apt-get install -y -q --no-install-recommends --no-install-suggests gnupg2 \
62
+ && echo 'deb http://apt.newrelic.com/debian/ newrelic non-free' | sudo tee /etc/apt/sources.list.d/newrelic.list \
63
+ && wget -O- https://download.newrelic.com/548C16BF.gpg | sudo apt-key add - \
64
+ && sudo apt-get update && apt-get install -y -q --no-install-recommends --no-install-suggests newrelic-php5 \
65
+ && NR_INSTALL_USE_CP_NOT_LN=1 NR_INSTALL_SILENT=1 newrelic-install install \
66
+ && chown www-data:www-data /usr/local/etc/php/conf.d/newrelic.ini && chmod a+rw /usr/local/etc/php/conf.d/newrelic.ini \
67
+ && apt-get remove -y gnupg2 && rm -rf /var/lib/apt/lists/* \
68
+ && echo "newrelic.distributed_tracing_enabled = false" | sudo tee -a /usr/local/etc/php/conf.d/newrelic.ini
69
+
60
70
RUN echo "---> Adding Tini" && \
61
71
wget -O /tini https://github.com/krallin/tini/releases/download/v0.18.0/tini-static && \
62
72
chmod +x /tini
You can’t perform that action at this time.
0 commit comments