Skip to content

Commit

Permalink
Upgrade NewRelic Agent with PHP 8.1 support (#327)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdecool authored Mar 11, 2022
1 parent 53435f2 commit b51d1c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions layers/newrelic/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 && \
Expand Down
3 changes: 2 additions & 1 deletion layers/newrelic/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"php": [
"73",
"74",
"80"
"80",
"81"
]
}

0 comments on commit b51d1c4

Please sign in to comment.