Skip to content

Commit b8b8b0c

Browse files
committed
feat: php 8.2 (no newrelic)
1 parent 825b507 commit b8b8b0c

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

Dockerfile

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Container Base
2-
FROM php:8.1-apache
2+
FROM php:8.2-apache
33

44
ENV \
55
NR_ENABLED=false \
@@ -57,15 +57,6 @@ RUN echo "---> Configure Opcache" && \
5757
echo "opcache.enable=0" >> /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini && \
5858
echo "opcache.enable_cli=0" >> /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini
5959

60-
RUN echo "---> Adding NewRelic" && \
61-
apt-get update && apt-get install -y -q --no-install-recommends --no-install-suggests gnupg2 \
62-
&& echo 'deb http://apt.newrelic.com/debian/ newrelic non-free' | sudo tee /etc/apt/sources.list.d/newrelic.list \
63-
&& wget -O- https://download.newrelic.com/548C16BF.gpg | sudo apt-key add - \
64-
&& sudo apt-get update && apt-get install -y -q --no-install-recommends --no-install-suggests newrelic-php5 \
65-
&& NR_INSTALL_USE_CP_NOT_LN=1 NR_INSTALL_SILENT=1 newrelic-install install \
66-
&& chown www-data:www-data /usr/local/etc/php/conf.d/newrelic.ini && chmod a+rw /usr/local/etc/php/conf.d/newrelic.ini \
67-
&& apt-get remove -y gnupg2 && rm -rf /var/lib/apt/lists/*
68-
6960
RUN echo "---> Adding Tini" && \
7061
wget -O /tini https://github.com/krallin/tini/releases/download/v0.18.0/tini-static && \
7162
chmod +x /tini

0 commit comments

Comments
 (0)