Skip to content

Commit 867d3dc

Browse files
authored
Merge pull request #256 from mrrobot47/php/8.4-update
PHP 8.4 updates
2 parents 0c0d3ed + 3a9c326 commit 867d3dc

2 files changed

Lines changed: 20 additions & 24 deletions

File tree

.github/dependabot.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,16 @@ updates:
105105
reviewers:
106106
- mrrobot47
107107

108+
- package-ecosystem: "docker"
109+
directory: "/php/8.4"
110+
ignore:
111+
- dependency-name: "php"
112+
update-types: ["version-update:semver-major", "version-update:semver-minor"]
113+
schedule:
114+
interval: "weekly"
115+
reviewers:
116+
- mrrobot47
117+
108118
- package-ecosystem: "docker"
109119
directory: "/php/stable"
110120
ignore:

php/8.4/Dockerfile

Lines changed: 10 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:8.4.1-fpm
1+
FROM php:8.4.10-fpm
22

33
LABEL maintainer="Riddhesh Sanghvi <riddhesh237@gmail.com>"
44
LABEL org.label-schema.schema-version="1.0.0"
@@ -31,20 +31,6 @@ RUN set -ex; \
3131
vim \
3232
zip
3333

34-
# RUN curl -fsSLOJ https://pecl.php.net/get/mcrypt/stable \
35-
# && tar -xf mcrypt-1.0.7.tgz
36-
# RUN cd mcrypt-1.0.7 \
37-
# && phpize \
38-
# && ./configure \
39-
# && make \
40-
# && curl -fsSLOJ https://github.com/php/pecl-encryption-mcrypt/commit/5b16bf1c97c1bbab400fc877285bf0919ae73256.diff \
41-
# && git apply 5b16bf1c97c1bbab400fc877285bf0919ae73256.diff \
42-
# && make test \
43-
# && cp modules/*.so $(pecl config-get ext_dir) \
44-
# && cd .. \
45-
# && rm -rf mcrypt-1.0.7.tgz mcrypt-1.0.7
46-
# RUN echo extension="mcrypt.so" > /usr/local/etc/php/conf.d/php-ext-mcrypt.ini
47-
4834
RUN pecl install imagick; \
4935
pecl install memcached; \
5036
pecl install redis; \
@@ -133,14 +119,14 @@ ln -s /usr/local/etc/misc/msmtprc /etc/msmtprc && \
133119
chown www-data:www-data /usr/local/etc/misc/msmtprc && \
134120
chown www-data:www-data /etc/msmtprc
135121

136-
# RUN latest_build=$(curl -s https://download.newrelic.com/php_agent/release/ | grep 'linux.tar.gz' | sed 's/.*"\(.*\)".*/\1/') && \
137-
# curl -L "https://download.newrelic.com$latest_build" | tar -C /tmp -zx && \
138-
# export NR_INSTALL_USE_CP_NOT_LN=1 && \
139-
# export NR_INSTALL_SILENT=1 && \
140-
# /tmp/newrelic-php5-*/newrelic-install install && \
141-
# rm -rf /tmp/newrelic-php5-* /tmp/nrinstall*
122+
RUN latest_build=$(curl -s https://download.newrelic.com/php_agent/release/ | grep 'linux.tar.gz' | sed 's/.*"\(.*\)".*/\1/') && \
123+
curl -L "https://download.newrelic.com$latest_build" | tar -C /tmp -zx && \
124+
export NR_INSTALL_USE_CP_NOT_LN=1 && \
125+
export NR_INSTALL_SILENT=1 && \
126+
/tmp/newrelic-php5-*/newrelic-install install && \
127+
rm -rf /tmp/newrelic-php5-* /tmp/nrinstall*
142128

143-
# ENV NR_PORT=/run/newrelic/newrelic.sock
129+
ENV NR_PORT=/run/newrelic/newrelic.sock
144130

145131
# Setup logs
146132
RUN mkdir -p /var/log/php; \
@@ -153,8 +139,8 @@ COPY expose_off.ini /usr/local/etc/php/conf.d/expose_off.ini
153139
COPY bashrc /root/.bashrc
154140
COPY bashrc /var/www/.bashrc
155141
COPY docker-entrypoint.sh /usr/local/bin/
156-
# COPY newrelic.ini /usr/local/etc/php/conf.d/newrelic.ini
157-
# COPY newrelic.ini /data/newrelic.ini
142+
COPY newrelic.ini /usr/local/etc/php/conf.d/newrelic.ini
143+
COPY newrelic.ini /data/newrelic.ini
158144

159145
WORKDIR /var/www/htdocs
160146
RUN usermod -s /bin/bash www-data

0 commit comments

Comments
 (0)