We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80e65fc commit b4469ceCopy full SHA for b4469ce
Dockerfile
@@ -1,4 +1,5 @@
1
ARG PHP_VERSION=8.3.21
2
+ARG NEW_RELIC_VERSION=11.9.0.23
3
4
FROM php:${PHP_VERSION}-fpm
5
@@ -31,3 +32,8 @@ RUN apt update -y \
31
32
xsl \
33
zip \
34
&& rm -rf /var/lib/apt/lists/*
35
+
36
+RUN mkdir -p /usr/local/lib/php/extensions/newrelic \
37
+ && curl https://download.newrelic.com/php_agent/archive/${NEW_RELIC_VERSION}/newrelic-php5-${NEW_RELIC_VERSION}-linux.tar.gz | tar zxf - -C /usr/local/lib/php/extensions/newrelic --strip-components 1 \
38
+ && cd /usr/local/lib/php/extensions/newrelic \
39
+ && NR_INSTALL_SILENT=1 ./newrelic-install install
0 commit comments