From 6ae0169e3b70dcb8a60c1e809703dfbe9c6f296f Mon Sep 17 00:00:00 2001 From: oanhnn Date: Mon, 6 Jan 2025 05:14:52 +0000 Subject: [PATCH] Update PHP --- 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 | 59 ++++++++++++++++++++++++++++++++++++ 8.4-rc/cli-alpine/Dockerfile | 57 ++++++++++++++++++++++++++++++++++ 8.4-rc/cli/Dockerfile | 59 ++++++++++++++++++++++++++++++++++++ 8.4-rc/fpm-alpine/Dockerfile | 57 ++++++++++++++++++++++++++++++++++ 8.4-rc/fpm/Dockerfile | 59 ++++++++++++++++++++++++++++++++++++ 8.4-rc/zts-alpine/Dockerfile | 57 ++++++++++++++++++++++++++++++++++ 8.4-rc/zts/Dockerfile | 59 ++++++++++++++++++++++++++++++++++++ 14 files changed, 814 insertions(+) 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 create mode 100644 8.4-rc/apache/Dockerfile create mode 100644 8.4-rc/cli-alpine/Dockerfile create mode 100644 8.4-rc/cli/Dockerfile create mode 100644 8.4-rc/fpm-alpine/Dockerfile create mode 100644 8.4-rc/fpm/Dockerfile create mode 100644 8.4-rc/zts-alpine/Dockerfile create mode 100644 8.4-rc/zts/Dockerfile diff --git a/8.3-rc/apache/Dockerfile b/8.3-rc/apache/Dockerfile new file mode 100644 index 0000000..992919d --- /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.16RC1-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..8c878e4 --- /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.16RC1-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..dab3fc1 --- /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.16RC1-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..6aac578 --- /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.16RC1-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..6cef063 --- /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.16RC1-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..bcaccce --- /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.16RC1-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..8e4e4e0 --- /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.16RC1-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 new file mode 100644 index 0000000..0167b15 --- /dev/null +++ b/8.4-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.4.3RC1-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.4-rc/cli-alpine/Dockerfile b/8.4-rc/cli-alpine/Dockerfile new file mode 100644 index 0000000..0afcf61 --- /dev/null +++ b/8.4-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.4.3RC1-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.4-rc/cli/Dockerfile b/8.4-rc/cli/Dockerfile new file mode 100644 index 0000000..22ad31c --- /dev/null +++ b/8.4-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.4.3RC1-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.4-rc/fpm-alpine/Dockerfile b/8.4-rc/fpm-alpine/Dockerfile new file mode 100644 index 0000000..f9a27f6 --- /dev/null +++ b/8.4-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.4.3RC1-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.4-rc/fpm/Dockerfile b/8.4-rc/fpm/Dockerfile new file mode 100644 index 0000000..8d3a7d2 --- /dev/null +++ b/8.4-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.4.3RC1-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.4-rc/zts-alpine/Dockerfile b/8.4-rc/zts-alpine/Dockerfile new file mode 100644 index 0000000..57f5989 --- /dev/null +++ b/8.4-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.4.3RC1-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.4-rc/zts/Dockerfile b/8.4-rc/zts/Dockerfile new file mode 100644 index 0000000..806a2eb --- /dev/null +++ b/8.4-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.4.3RC1-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