Skip to content

Commit b4469ce

Browse files
Add New Relic 11.9.0.23
1 parent 80e65fc commit b4469ce

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
ARG PHP_VERSION=8.3.21
2+
ARG NEW_RELIC_VERSION=11.9.0.23
23

34
FROM php:${PHP_VERSION}-fpm
45

@@ -31,3 +32,8 @@ RUN apt update -y \
3132
xsl \
3233
zip \
3334
&& 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

Comments
 (0)