From 85cedea05af7bf93b91388585f7342a3447a36be Mon Sep 17 00:00:00 2001 From: oanhnn Date: Mon, 11 Nov 2024 05:15:27 +0000 Subject: [PATCH] Update PHP --- 8.2-rc/apache/Dockerfile | 59 ++++++++++++++++++++++++++++++++++++ 8.2-rc/cli-alpine/Dockerfile | 57 ++++++++++++++++++++++++++++++++++ 8.2-rc/cli/Dockerfile | 59 ++++++++++++++++++++++++++++++++++++ 8.2-rc/fpm-alpine/Dockerfile | 57 ++++++++++++++++++++++++++++++++++ 8.2-rc/fpm/Dockerfile | 59 ++++++++++++++++++++++++++++++++++++ 8.2-rc/zts-alpine/Dockerfile | 57 ++++++++++++++++++++++++++++++++++ 8.2-rc/zts/Dockerfile | 59 ++++++++++++++++++++++++++++++++++++ 8.3-rc/apache/Dockerfile | 59 ++++++++++++++++++++++++++++++++++++ 8.3-rc/cli-alpine/Dockerfile | 57 ++++++++++++++++++++++++++++++++++ 8.3-rc/cli/Dockerfile | 59 ++++++++++++++++++++++++++++++++++++ 8.3-rc/fpm-alpine/Dockerfile | 57 ++++++++++++++++++++++++++++++++++ 8.3-rc/fpm/Dockerfile | 59 ++++++++++++++++++++++++++++++++++++ 8.3-rc/zts-alpine/Dockerfile | 57 ++++++++++++++++++++++++++++++++++ 8.3-rc/zts/Dockerfile | 59 ++++++++++++++++++++++++++++++++++++ 8.4-rc/apache/Dockerfile | 2 +- 8.4-rc/cli-alpine/Dockerfile | 2 +- 8.4-rc/cli/Dockerfile | 2 +- 8.4-rc/fpm-alpine/Dockerfile | 2 +- 8.4-rc/fpm/Dockerfile | 2 +- 8.4-rc/zts-alpine/Dockerfile | 2 +- 8.4-rc/zts/Dockerfile | 2 +- 21 files changed, 821 insertions(+), 7 deletions(-) create mode 100644 8.2-rc/apache/Dockerfile create mode 100644 8.2-rc/cli-alpine/Dockerfile create mode 100644 8.2-rc/cli/Dockerfile create mode 100644 8.2-rc/fpm-alpine/Dockerfile create mode 100644 8.2-rc/fpm/Dockerfile create mode 100644 8.2-rc/zts-alpine/Dockerfile create mode 100644 8.2-rc/zts/Dockerfile create mode 100644 8.3-rc/apache/Dockerfile create mode 100644 8.3-rc/cli-alpine/Dockerfile create mode 100644 8.3-rc/cli/Dockerfile create mode 100644 8.3-rc/fpm-alpine/Dockerfile create mode 100644 8.3-rc/fpm/Dockerfile create mode 100644 8.3-rc/zts-alpine/Dockerfile create mode 100644 8.3-rc/zts/Dockerfile diff --git a/8.2-rc/apache/Dockerfile b/8.2-rc/apache/Dockerfile new file mode 100644 index 0000000..52f7726 --- /dev/null +++ b/8.2-rc/apache/Dockerfile @@ -0,0 +1,59 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# +FROM php:8.2.26RC1-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 diff --git a/8.2-rc/cli-alpine/Dockerfile b/8.2-rc/cli-alpine/Dockerfile new file mode 100644 index 0000000..fdb4315 --- /dev/null +++ b/8.2-rc/cli-alpine/Dockerfile @@ -0,0 +1,57 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# +FROM php:8.2.26RC1-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 diff --git a/8.2-rc/cli/Dockerfile b/8.2-rc/cli/Dockerfile new file mode 100644 index 0000000..229a6b3 --- /dev/null +++ b/8.2-rc/cli/Dockerfile @@ -0,0 +1,59 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# +FROM php:8.2.26RC1-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 diff --git a/8.2-rc/fpm-alpine/Dockerfile b/8.2-rc/fpm-alpine/Dockerfile new file mode 100644 index 0000000..0d33efb --- /dev/null +++ b/8.2-rc/fpm-alpine/Dockerfile @@ -0,0 +1,57 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# +FROM php:8.2.26RC1-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 diff --git a/8.2-rc/fpm/Dockerfile b/8.2-rc/fpm/Dockerfile new file mode 100644 index 0000000..1007ffb --- /dev/null +++ b/8.2-rc/fpm/Dockerfile @@ -0,0 +1,59 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# +FROM php:8.2.26RC1-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 diff --git a/8.2-rc/zts-alpine/Dockerfile b/8.2-rc/zts-alpine/Dockerfile new file mode 100644 index 0000000..1d0ec37 --- /dev/null +++ b/8.2-rc/zts-alpine/Dockerfile @@ -0,0 +1,57 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# +FROM php:8.2.26RC1-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 diff --git a/8.2-rc/zts/Dockerfile b/8.2-rc/zts/Dockerfile new file mode 100644 index 0000000..c331820 --- /dev/null +++ b/8.2-rc/zts/Dockerfile @@ -0,0 +1,59 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# +FROM php:8.2.26RC1-zts + +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 diff --git a/8.3-rc/apache/Dockerfile b/8.3-rc/apache/Dockerfile new file mode 100644 index 0000000..65c7218 --- /dev/null +++ b/8.3-rc/apache/Dockerfile @@ -0,0 +1,59 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# +FROM php:8.3.14RC1-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 diff --git a/8.3-rc/cli-alpine/Dockerfile b/8.3-rc/cli-alpine/Dockerfile new file mode 100644 index 0000000..d801122 --- /dev/null +++ b/8.3-rc/cli-alpine/Dockerfile @@ -0,0 +1,57 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# +FROM php:8.3.14RC1-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 diff --git a/8.3-rc/cli/Dockerfile b/8.3-rc/cli/Dockerfile new file mode 100644 index 0000000..bf2c43c --- /dev/null +++ b/8.3-rc/cli/Dockerfile @@ -0,0 +1,59 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# +FROM php:8.3.14RC1-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 diff --git a/8.3-rc/fpm-alpine/Dockerfile b/8.3-rc/fpm-alpine/Dockerfile new file mode 100644 index 0000000..8c4e4a5 --- /dev/null +++ b/8.3-rc/fpm-alpine/Dockerfile @@ -0,0 +1,57 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# +FROM php:8.3.14RC1-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 diff --git a/8.3-rc/fpm/Dockerfile b/8.3-rc/fpm/Dockerfile new file mode 100644 index 0000000..9b74bdd --- /dev/null +++ b/8.3-rc/fpm/Dockerfile @@ -0,0 +1,59 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# +FROM php:8.3.14RC1-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 diff --git a/8.3-rc/zts-alpine/Dockerfile b/8.3-rc/zts-alpine/Dockerfile new file mode 100644 index 0000000..2fb172f --- /dev/null +++ b/8.3-rc/zts-alpine/Dockerfile @@ -0,0 +1,57 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# +FROM php:8.3.14RC1-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 diff --git a/8.3-rc/zts/Dockerfile b/8.3-rc/zts/Dockerfile new file mode 100644 index 0000000..808efb8 --- /dev/null +++ b/8.3-rc/zts/Dockerfile @@ -0,0 +1,59 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# +FROM php:8.3.14RC1-zts + +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 diff --git a/8.4-rc/apache/Dockerfile b/8.4-rc/apache/Dockerfile index 3ff8f09..dd24418 100644 --- a/8.4-rc/apache/Dockerfile +++ b/8.4-rc/apache/Dockerfile @@ -3,7 +3,7 @@ # # PLEASE DO NOT EDIT IT DIRECTLY. # -FROM php:8.4.0RC3-apache +FROM php:8.4.0RC4-apache RUN set -eux; \ \ diff --git a/8.4-rc/cli-alpine/Dockerfile b/8.4-rc/cli-alpine/Dockerfile index 9faa2e3..8eae55d 100644 --- a/8.4-rc/cli-alpine/Dockerfile +++ b/8.4-rc/cli-alpine/Dockerfile @@ -3,7 +3,7 @@ # # PLEASE DO NOT EDIT IT DIRECTLY. # -FROM php:8.4.0RC3-cli-alpine +FROM php:8.4.0RC4-cli-alpine RUN set -eux; \ \ diff --git a/8.4-rc/cli/Dockerfile b/8.4-rc/cli/Dockerfile index 5464172..d9507e0 100644 --- a/8.4-rc/cli/Dockerfile +++ b/8.4-rc/cli/Dockerfile @@ -3,7 +3,7 @@ # # PLEASE DO NOT EDIT IT DIRECTLY. # -FROM php:8.4.0RC3-cli +FROM php:8.4.0RC4-cli RUN set -eux; \ \ diff --git a/8.4-rc/fpm-alpine/Dockerfile b/8.4-rc/fpm-alpine/Dockerfile index 6db14ac..d51f8cd 100644 --- a/8.4-rc/fpm-alpine/Dockerfile +++ b/8.4-rc/fpm-alpine/Dockerfile @@ -3,7 +3,7 @@ # # PLEASE DO NOT EDIT IT DIRECTLY. # -FROM php:8.4.0RC3-fpm-alpine +FROM php:8.4.0RC4-fpm-alpine RUN set -eux; \ \ diff --git a/8.4-rc/fpm/Dockerfile b/8.4-rc/fpm/Dockerfile index 1f3bc68..534ae4a 100644 --- a/8.4-rc/fpm/Dockerfile +++ b/8.4-rc/fpm/Dockerfile @@ -3,7 +3,7 @@ # # PLEASE DO NOT EDIT IT DIRECTLY. # -FROM php:8.4.0RC3-fpm +FROM php:8.4.0RC4-fpm RUN set -eux; \ \ diff --git a/8.4-rc/zts-alpine/Dockerfile b/8.4-rc/zts-alpine/Dockerfile index 5f5505b..9c9b91c 100644 --- a/8.4-rc/zts-alpine/Dockerfile +++ b/8.4-rc/zts-alpine/Dockerfile @@ -3,7 +3,7 @@ # # PLEASE DO NOT EDIT IT DIRECTLY. # -FROM php:8.4.0RC3-zts-alpine +FROM php:8.4.0RC4-zts-alpine RUN set -eux; \ \ diff --git a/8.4-rc/zts/Dockerfile b/8.4-rc/zts/Dockerfile index fe025fc..863128e 100644 --- a/8.4-rc/zts/Dockerfile +++ b/8.4-rc/zts/Dockerfile @@ -3,7 +3,7 @@ # # PLEASE DO NOT EDIT IT DIRECTLY. # -FROM php:8.4.0RC3-zts +FROM php:8.4.0RC4-zts RUN set -eux; \ \