File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -82,8 +82,12 @@ RUN echo "---> Adding Tini" && \
8282RUN echo "---> Adding NewRelic" && \
8383 apt-get update && apt-get install -y -q --no-install-recommends --no-install-suggests gnupg2 \
8484 && echo 'deb http://apt.newrelic.com/debian/ newrelic non-free' | sudo tee /etc/apt/sources.list.d/newrelic.list \
85- && wget -O- https://download.newrelic.com/548C16BF.gpg | sudo apt-key add - \
86- && sudo apt-get update && apt-get install -y -q --no-install-recommends --no-install-suggests newrelic-php5 \
85+ && wget -O- https://download.newrelic.com/548C16BF.gpg | sudo apt-key add - \ && sudo apt-get update && apt-get install -y -q --no-install-recommends --no-install-suggests \
86+ {{ if eq (env "DOCKER_BUILD_NR_VERSION") "" }}
87+ newrelic-php5 \
88+ {{ else }}
89+ newrelic-php5={{ env "DOCKER_BUILD_NR_VERSION" }} newrelic-php5-common={{ env "DOCKER_BUILD_NR_VERSION" }} newrelic-daemon={{ env "DOCKER_BUILD_NR_VERSION" }} \
90+ {{ end }}
8791 && NR_INSTALL_USE_CP_NOT_LN=1 NR_INSTALL_SILENT=1 newrelic-install install \
8892 && chown www-data:www-data /usr/local/etc/php/conf.d/newrelic.ini && chmod a+rw /usr/local/etc/php/conf.d/newrelic.ini \
8993 && apt-get remove -y gnupg2 && rm -rf /var/lib/apt/lists/* \
Original file line number Diff line number Diff line change @@ -81,7 +81,12 @@ RUN echo "---> Adding NewRelic" && \
8181 apt-get update && apt-get install -y -q --no-install-recommends --no-install-suggests gnupg2 \
8282 && echo 'deb http://apt.newrelic.com/debian/ newrelic non-free' | sudo tee /etc/apt/sources.list.d/newrelic.list \
8383 && wget -O- https://download.newrelic.com/548C16BF.gpg | sudo apt-key add - \
84- && sudo apt-get update && apt-get install -y -q --no-install-recommends --no-install-suggests newrelic-php5 \
84+ && sudo apt-get update && apt-get install -y -q --no-install-recommends --no-install-suggests \
85+ {{ if eq (env "DOCKER_BUILD_NR_VERSION") "" }}
86+ newrelic-php5 \
87+ {{ else }}
88+ newrelic-php5={{ env "DOCKER_BUILD_NR_VERSION" }} newrelic-php5-common={{ env "DOCKER_BUILD_NR_VERSION" }} newrelic-daemon={{ env "DOCKER_BUILD_NR_VERSION" }} \
89+ {{ end }}
8590 && NR_INSTALL_USE_CP_NOT_LN=1 NR_INSTALL_SILENT=1 newrelic-install install \
8691 && cp /usr/lib/newrelic-php5/scripts/newrelic.ini.template /usr/local/etc/php/conf.d/newrelic.ini \
8792 && chown www-data:www-data /usr/local/etc/php/conf.d/newrelic.ini && chmod a+rw /usr/local/etc/php/conf.d/newrelic.ini \
Original file line number Diff line number Diff line change 77 "redis_version" : " 5.3.7" ,
88 "imap_version" : " " ,
99 "imap_type" : " php-ext" ,
10+ "nr_version" : " 11.10.0.24" ,
1011 "php_errors_enabled" : false ,
1112 "variations" : [" pgsql" ]
1213 },
You can’t perform that action at this time.
0 commit comments