From b51d1c4fcac012449f991a9b6227378da826e08d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20DECOOL?= Date: Fri, 11 Mar 2022 11:12:13 +0100 Subject: [PATCH] Upgrade NewRelic Agent with PHP 8.1 support (#327) --- layers/newrelic/Dockerfile | 6 +++--- layers/newrelic/config.json | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/layers/newrelic/Dockerfile b/layers/newrelic/Dockerfile index a860fc7b..60dd8ea5 100644 --- a/layers/newrelic/Dockerfile +++ b/layers/newrelic/Dockerfile @@ -1,10 +1,10 @@ ARG PHP_VERSION FROM bref/build-php-$PHP_VERSION:1.3.3 AS ext -# Build the New Relic Agent install silently for PHP Agent 9.17 - +# Build the New Relic Agent install silently for PHP Agent 9.19 +ARG NEWRELIC_VERSION=9.19.0.309 RUN \ - curl -L https://download.newrelic.com/php_agent/archive/9.17.1.301/newrelic-php5-9.17.1.301-linux.tar.gz | tar -C /tmp -zx && \ + curl -L https://download.newrelic.com/php_agent/archive/${NEWRELIC_VERSION}/newrelic-php5-${NEWRELIC_VERSION}-linux.tar.gz | tar -C /tmp -zx && \ export NR_INSTALL_USE_CP_NOT_LN=1 && \ export NR_INSTALL_SILENT=1 && \ /tmp/newrelic-php5-*/newrelic-install install && \ diff --git a/layers/newrelic/config.json b/layers/newrelic/config.json index 6abe3e86..b12fe90c 100644 --- a/layers/newrelic/config.json +++ b/layers/newrelic/config.json @@ -2,6 +2,7 @@ "php": [ "73", "74", - "80" + "80", + "81" ] }