Skip to content

Commit 8a4ec5b

Browse files
committed
build(deps): upgrade pecl extensions
1 parent c4fb6fb commit 8a4ec5b

103 files changed

Lines changed: 197 additions & 179 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

8.1/alpine3.19/newrelic/Dockerfile

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,22 @@ FROM php:8.1-alpine3.19
33
LABEL maintainer="Andrea Falco <andrea@falco.sh>"
44

55
# PHP ext-newrelic
6-
ARG PHPEXT_NEWRELIC_VERSION=10.21.0.11
76
RUN set -eux; \
8-
curl -fsSL https://download.newrelic.com/php_agent/release/newrelic-php5-${PHPEXT_NEWRELIC_VERSION}-linux-musl.tar.gz \
7+
# Discover the latest released version:
8+
export NEW_RELIC_AGENT_VERSION=$(curl -fsSL https://download.newrelic.com/php_agent/release/ | grep -o '[1-9][0-9]\?\(\.[0-9]\+\)\{3\}' | head -n1); \
9+
# Discover libc provider
10+
export NR_INSTALL_PLATFORM=$(ldd --version 2>&1 | grep -q musl && echo "linux-musl" || echo "linux"); \
11+
\
12+
# Download the discovered version:
13+
curl -fsSL https://download.newrelic.com/php_agent/release/newrelic-php5-${NEW_RELIC_AGENT_VERSION}-${NR_INSTALL_PLATFORM}.tar.gz \
914
| tar -xzC /tmp; \
10-
export NR_INSTALL_USE_CP_NOT_LN=1; \
11-
/tmp/newrelic-php5-*/newrelic-install install; \
15+
# Install the downloaded agent:
16+
NR_INSTALL_USE_CP_NOT_LN=1 NR_INSTALL_SILENT=0 /tmp/newrelic-php5-*/newrelic-install install; \
1217
\
13-
sed -i \
14-
-e 's/"REPLACE_WITH_REAL_KEY"/"YOUR_LICENSE_KEY"/' \
15-
-e 's/newrelic.appname = "PHP Application"/newrelic.appname = "YOUR_APPLICATION_NAME"/' \
16-
-e 's/;newrelic.daemon.app_connect_timeout =.*/newrelic.daemon.app_connect_timeout=15s/' \
17-
-e 's/;newrelic.daemon.start_timeout =.*/newrelic.daemon.start_timeout=5s/' \
18-
/usr/local/etc/php/conf.d/newrelic.ini \
19-
; \
18+
# Configure the agent to use license key from NEW_RELIC_LICENSE_KEY env var:
19+
sed -ie 's/[ ;]*newrelic.license[[:space:]]=.*/newrelic.license=${NEW_RELIC_LICENSE_KEY}/' $(php-config --ini-dir)/newrelic.ini; \
20+
# Configure the agent to use app name from NEW_RELIC_APP_NAME env var:
21+
sed -ie 's/[ ;]*newrelic.appname[[:space:]]=.*/newrelic.appname=${NEW_RELIC_APP_NAME}/' $(php-config --ini-dir)/newrelic.ini; \
2022
\
23+
# Cleanup temporary files:
2124
rm -rf /tmp/* /var/tmp/*

8.1/alpine3.19/pecl_apcu/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM php:8.1-alpine3.19
33
LABEL maintainer="Andrea Falco <andrea@falco.sh>"
44

55
# PHP ext-apcu
6-
ARG PHPEXT_APCU_VERSION=5.1.23
6+
ARG PHPEXT_APCU_VERSION=5.1.24
77
RUN set -eux; \
88
pecl bundle -d /usr/src/php/ext apcu-${PHPEXT_APCU_VERSION}; \
99
docker-php-ext-install -j$(nproc) apcu; \

8.1/alpine3.19/pecl_ast/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM php:8.1-alpine3.19
33
LABEL maintainer="Andrea Falco <andrea@falco.sh>"
44

55
# PHP ext-ast
6-
ARG PHPEXT_AST_VERSION=1.1.1
6+
ARG PHPEXT_AST_VERSION=1.1.2
77
RUN set -eux; \
88
pecl bundle -d /usr/src/php/ext ast-${PHPEXT_AST_VERSION}; \
99
docker-php-ext-install -j$(nproc) ast; \

8.1/alpine3.19/pecl_grpc/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM php:8.1-alpine3.19
33
LABEL maintainer="Andrea Falco <andrea@falco.sh>"
44

55
# PHP ext-grpc
6-
ARG PHPEXT_GRPC_VERSION=1.63.0
6+
ARG PHPEXT_GRPC_VERSION=1.67.0
77
RUN set -eux; \
88
persistentDeps=" \
99
libstdc++ \

8.1/alpine3.19/pecl_igbinary/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM php:8.1-alpine3.19
33
LABEL maintainer="Andrea Falco <andrea@falco.sh>"
44

55
# PHP ext-igbinary
6-
ARG PHPEXT_IGBINARY_VERSION=3.2.15
6+
ARG PHPEXT_IGBINARY_VERSION=3.2.16
77
RUN set -eux; \
88
pecl bundle -d /usr/src/php/ext igbinary-${PHPEXT_IGBINARY_VERSION}; \
99
docker-php-ext-install -j$(nproc) igbinary; \

8.1/alpine3.19/pecl_imap/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM php:8.1-alpine3.19
33
LABEL maintainer="Andrea Falco <andrea@falco.sh>"
44

55
# PHP ext-imap
6-
ARG PHPEXT_IMAP_VERSION=1.0.2
6+
ARG PHPEXT_IMAP_VERSION=1.0.3
77
RUN set -eux; \
88
persistentDeps=" \
99
c-client \

8.1/alpine3.19/pecl_mailparse/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM php:8.1-alpine3.19
33
LABEL maintainer="Andrea Falco <andrea@falco.sh>"
44

55
# PHP ext-mailparse
6-
ARG PHPEXT_MAILPARSE_VERSION=3.1.6
6+
ARG PHPEXT_MAILPARSE_VERSION=3.1.8
77
RUN set -eux; \
88
pecl bundle -d /usr/src/php/ext mailparse-${PHPEXT_MAILPARSE_VERSION}; \
99
docker-php-ext-install -j$(nproc) mailparse; \

8.1/alpine3.19/pecl_memcached/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM php:8.1-alpine3.19
33
LABEL maintainer="Andrea Falco <andrea@falco.sh>"
44

55
# PHP ext-memcached
6-
ARG PHPEXT_MEMCACHED_VERSION=3.2.0
6+
ARG PHPEXT_MEMCACHED_VERSION=3.3.0
77
RUN set -eux; \
88
persistentDeps=" \
99
libmemcached \

8.1/alpine3.19/pecl_mongodb/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM php:8.1-alpine3.19
33
LABEL maintainer="Andrea Falco <andrea@falco.sh>"
44

55
# PHP ext-mongodb
6-
ARG PHPEXT_MONGODB_VERSION=1.19.1
6+
ARG PHPEXT_MONGODB_VERSION=1.20.0
77
RUN set -eux; \
88
persistentDeps=" \
99
openssl \

8.1/alpine3.19/pecl_protobuf/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM php:8.1-alpine3.19
33
LABEL maintainer="Andrea Falco <andrea@falco.sh>"
44

55
# PHP ext-protobuf
6-
ARG PHPEXT_PROTOBUF_VERSION=4.27.0
6+
ARG PHPEXT_PROTOBUF_VERSION=4.27.5
77
RUN set -eux; \
88
pecl bundle -d /usr/src/php/ext protobuf-${PHPEXT_PROTOBUF_VERSION}; \
99
docker-php-ext-install -j$(nproc) protobuf; \

0 commit comments

Comments
 (0)