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