Skip to content

Commit

Permalink
Update PHP
Browse files Browse the repository at this point in the history
  • Loading branch information
oanhnn authored and github-actions[bot] committed Oct 14, 2024
1 parent c3369d8 commit 4ca65b7
Show file tree
Hide file tree
Showing 21 changed files with 821 additions and 7 deletions.
59 changes: 59 additions & 0 deletions 8.2-rc/apache/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
#
# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh"
#
# PLEASE DO NOT EDIT IT DIRECTLY.
#
FROM php:8.2.25RC1-apache

RUN set -eux; \
\
savedAptMark="$(apt-mark showmanual)"; \
apt-get update; \
apt-get install -y --no-install-recommends \
libfreetype6-dev \
libgmp-dev \
libicu-dev \
libjpeg62-turbo-dev \
libpng-dev \
libpq-dev \
libzip-dev \
$PHPIZE_DEPS \
; \
docker-php-ext-configure gd \
--with-freetype=/usr/include/ \
--with-jpeg=/usr/include/ \
; \
docker-php-ext-install -j"$(getconf _NPROCESSORS_ONLN)" \
bcmath \
gd \
gmp \
intl \
opcache \
pdo_mysql \
pdo_pgsql \
pcntl \
sockets \
zip \
; \
\
pecl update-channels; \
pecl install \
redis \
xdebug \
; \
docker-php-ext-enable redis; \
rm -rf /tmp/pear ~/.pearrc; \
apt-mark auto '.*' > /dev/null; \
[ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; \
find /usr/local -type f -executable -exec ldd '{}' ';' \
| awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' \
| sort -u \
| xargs -r dpkg-query --search \
| cut -d: -f1 \
| sort -u \
| xargs -r apt-mark manual \
; \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
rm -rf /var/lib/apt/lists/*; \
\
php --version
57 changes: 57 additions & 0 deletions 8.2-rc/cli-alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
#
# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh"
#
# PLEASE DO NOT EDIT IT DIRECTLY.
#
FROM php:8.2.25RC1-cli-alpine

RUN set -eux; \
\
apk add --update --no-cache --virtual .build-deps \
freetype-dev \
gmp-dev \
icu-dev \
libintl \
libjpeg-turbo-dev \
libpng-dev \
libxml2-dev \
libzip-dev \
linux-headers \
postgresql-dev \
$PHPIZE_DEPS \
; \
docker-php-ext-configure gd \
--with-freetype=/usr/include/ \
--with-jpeg=/usr/include/ \
; \
docker-php-ext-install -j"$(getconf _NPROCESSORS_ONLN)" \
bcmath \
gd \
gmp \
intl \
opcache \
pdo_mysql \
pdo_pgsql \
pcntl \
sockets \
zip \
; \
\
pecl update-channels; \
pecl install \
redis \
xdebug \
; \
docker-php-ext-enable redis; \
rm -rf /tmp/pear ~/.pearrc; \
\
runDeps="$( \
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \
| tr ',' '\n' \
| sort -u \
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
)"; \
apk add --update --no-cache --virtual .run-deps $runDeps; \
apk del .build-deps; \
\
php --version
59 changes: 59 additions & 0 deletions 8.2-rc/cli/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
#
# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh"
#
# PLEASE DO NOT EDIT IT DIRECTLY.
#
FROM php:8.2.25RC1-cli

RUN set -eux; \
\
savedAptMark="$(apt-mark showmanual)"; \
apt-get update; \
apt-get install -y --no-install-recommends \
libfreetype6-dev \
libgmp-dev \
libicu-dev \
libjpeg62-turbo-dev \
libpng-dev \
libpq-dev \
libzip-dev \
$PHPIZE_DEPS \
; \
docker-php-ext-configure gd \
--with-freetype=/usr/include/ \
--with-jpeg=/usr/include/ \
; \
docker-php-ext-install -j"$(getconf _NPROCESSORS_ONLN)" \
bcmath \
gd \
gmp \
intl \
opcache \
pdo_mysql \
pdo_pgsql \
pcntl \
sockets \
zip \
; \
\
pecl update-channels; \
pecl install \
redis \
xdebug \
; \
docker-php-ext-enable redis; \
rm -rf /tmp/pear ~/.pearrc; \
apt-mark auto '.*' > /dev/null; \
[ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; \
find /usr/local -type f -executable -exec ldd '{}' ';' \
| awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' \
| sort -u \
| xargs -r dpkg-query --search \
| cut -d: -f1 \
| sort -u \
| xargs -r apt-mark manual \
; \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
rm -rf /var/lib/apt/lists/*; \
\
php --version
57 changes: 57 additions & 0 deletions 8.2-rc/fpm-alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
#
# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh"
#
# PLEASE DO NOT EDIT IT DIRECTLY.
#
FROM php:8.2.25RC1-fpm-alpine

RUN set -eux; \
\
apk add --update --no-cache --virtual .build-deps \
freetype-dev \
gmp-dev \
icu-dev \
libintl \
libjpeg-turbo-dev \
libpng-dev \
libxml2-dev \
libzip-dev \
linux-headers \
postgresql-dev \
$PHPIZE_DEPS \
; \
docker-php-ext-configure gd \
--with-freetype=/usr/include/ \
--with-jpeg=/usr/include/ \
; \
docker-php-ext-install -j"$(getconf _NPROCESSORS_ONLN)" \
bcmath \
gd \
gmp \
intl \
opcache \
pdo_mysql \
pdo_pgsql \
pcntl \
sockets \
zip \
; \
\
pecl update-channels; \
pecl install \
redis \
xdebug \
; \
docker-php-ext-enable redis; \
rm -rf /tmp/pear ~/.pearrc; \
\
runDeps="$( \
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \
| tr ',' '\n' \
| sort -u \
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
)"; \
apk add --update --no-cache --virtual .run-deps $runDeps; \
apk del .build-deps; \
\
php --version
59 changes: 59 additions & 0 deletions 8.2-rc/fpm/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
#
# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh"
#
# PLEASE DO NOT EDIT IT DIRECTLY.
#
FROM php:8.2.25RC1-fpm

RUN set -eux; \
\
savedAptMark="$(apt-mark showmanual)"; \
apt-get update; \
apt-get install -y --no-install-recommends \
libfreetype6-dev \
libgmp-dev \
libicu-dev \
libjpeg62-turbo-dev \
libpng-dev \
libpq-dev \
libzip-dev \
$PHPIZE_DEPS \
; \
docker-php-ext-configure gd \
--with-freetype=/usr/include/ \
--with-jpeg=/usr/include/ \
; \
docker-php-ext-install -j"$(getconf _NPROCESSORS_ONLN)" \
bcmath \
gd \
gmp \
intl \
opcache \
pdo_mysql \
pdo_pgsql \
pcntl \
sockets \
zip \
; \
\
pecl update-channels; \
pecl install \
redis \
xdebug \
; \
docker-php-ext-enable redis; \
rm -rf /tmp/pear ~/.pearrc; \
apt-mark auto '.*' > /dev/null; \
[ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; \
find /usr/local -type f -executable -exec ldd '{}' ';' \
| awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' \
| sort -u \
| xargs -r dpkg-query --search \
| cut -d: -f1 \
| sort -u \
| xargs -r apt-mark manual \
; \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
rm -rf /var/lib/apt/lists/*; \
\
php --version
57 changes: 57 additions & 0 deletions 8.2-rc/zts-alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
#
# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh"
#
# PLEASE DO NOT EDIT IT DIRECTLY.
#
FROM php:8.2.25RC1-zts-alpine

RUN set -eux; \
\
apk add --update --no-cache --virtual .build-deps \
freetype-dev \
gmp-dev \
icu-dev \
libintl \
libjpeg-turbo-dev \
libpng-dev \
libxml2-dev \
libzip-dev \
linux-headers \
postgresql-dev \
$PHPIZE_DEPS \
; \
docker-php-ext-configure gd \
--with-freetype=/usr/include/ \
--with-jpeg=/usr/include/ \
; \
docker-php-ext-install -j"$(getconf _NPROCESSORS_ONLN)" \
bcmath \
gd \
gmp \
intl \
opcache \
pdo_mysql \
pdo_pgsql \
pcntl \
sockets \
zip \
; \
\
pecl update-channels; \
pecl install \
redis \
xdebug \
; \
docker-php-ext-enable redis; \
rm -rf /tmp/pear ~/.pearrc; \
\
runDeps="$( \
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \
| tr ',' '\n' \
| sort -u \
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
)"; \
apk add --update --no-cache --virtual .run-deps $runDeps; \
apk del .build-deps; \
\
php --version
Loading

0 comments on commit 4ca65b7

Please sign in to comment.