From 5b23400285a87974feddc614f34a9d07f8ff66e3 Mon Sep 17 00:00:00 2001 From: erikn69 Date: Fri, 22 Dec 2023 11:52:33 -0500 Subject: [PATCH] Fix NEW RELIC on Php 8.3 --- php-fpm/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php-fpm/Dockerfile b/php-fpm/Dockerfile index 42e862b9a8..3012124e3c 100644 --- a/php-fpm/Dockerfile +++ b/php-fpm/Dockerfile @@ -1227,8 +1227,8 @@ ARG NEW_RELIC=${NEW_RELIC} ARG NEW_RELIC_KEY=${NEW_RELIC_KEY} ARG NEW_RELIC_APP_NAME=${NEW_RELIC_APP_NAME} -RUN if [ ${NEW_RELIC} = true ] && [ ${LARADOCK_PHP_VERSION} != "8.3" ]; then \ - curl -L http://download.newrelic.com/php_agent/archive/10.14.0.3/newrelic-php5-10.14.0.3-linux.tar.gz | tar -C /tmp -zx && \ +RUN if [ ${NEW_RELIC} = true ] ]; then \ + curl -L http://download.newrelic.com/php_agent/archive/10.15.0.4/newrelic-php5-10.15.0.4-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 && \