From 1a0f4309c439c08f1b3420e1fa8d4eda676793b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Corr=C3=AAa=20Gomes?= Date: Wed, 21 Aug 2024 14:44:35 -0400 Subject: [PATCH] Add FTP ext to PHP 8.2 and 8.3 --- images/php/8.2-cli/Dockerfile | 5 +++-- images/php/8.2-fpm/Dockerfile | 5 +++-- images/php/8.3-cli/Dockerfile | 5 +++-- images/php/8.3-fpm/Dockerfile | 5 +++-- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/images/php/8.2-cli/Dockerfile b/images/php/8.2-cli/Dockerfile index 1427b2fd..6807b322 100644 --- a/images/php/8.2-cli/Dockerfile +++ b/images/php/8.2-cli/Dockerfile @@ -29,7 +29,7 @@ ENV MAGENTO_RUN_MODE production ENV SENDMAIL_PATH /dev/null ENV PHPRC ${MAGENTO_ROOT}/php.ini -ENV PHP_EXTENSIONS bcmath bz2 calendar exif gd gettext intl mysqli opcache pdo_mysql redis soap sockets sodium sysvmsg sysvsem sysvshm xsl zip pcntl +ENV PHP_EXTENSIONS bcmath bz2 calendar exif gd gettext intl mysqli opcache pdo_mysql redis soap sockets sodium sysvmsg sysvsem sysvshm xsl zip pcntl ftp # Configure Node.js version RUN curl -sL https://deb.nodesource.com/setup_lts.x | bash @@ -114,7 +114,8 @@ RUN docker-php-ext-install -j$(nproc) \ tidy \ xsl \ zip \ - pcntl + pcntl \ + ftp RUN pecl install -o -f \ gnupg \ diff --git a/images/php/8.2-fpm/Dockerfile b/images/php/8.2-fpm/Dockerfile index de75c9a5..ff94b414 100644 --- a/images/php/8.2-fpm/Dockerfile +++ b/images/php/8.2-fpm/Dockerfile @@ -22,7 +22,7 @@ ENV UPLOAD_MAX_FILESIZE 64M ENV SENDMAIL_PATH /dev/null ENV PHPRC ${MAGENTO_ROOT}/php.ini -ENV PHP_EXTENSIONS bcmath bz2 calendar exif gd gettext intl mysqli opcache pdo_mysql redis soap sockets sodium sysvmsg sysvsem sysvshm xsl zip pcntl +ENV PHP_EXTENSIONS bcmath bz2 calendar exif gd gettext intl mysqli opcache pdo_mysql redis soap sockets sodium sysvmsg sysvsem sysvshm xsl zip pcntl ftp # Install dependencies RUN apt-get update \ @@ -89,7 +89,8 @@ RUN docker-php-ext-install -j$(nproc) \ tidy \ xsl \ zip \ - pcntl + pcntl \ + ftp RUN pecl install -o -f \ gnupg \ diff --git a/images/php/8.3-cli/Dockerfile b/images/php/8.3-cli/Dockerfile index 21b4957e..56cd6018 100644 --- a/images/php/8.3-cli/Dockerfile +++ b/images/php/8.3-cli/Dockerfile @@ -29,7 +29,7 @@ ENV MAGENTO_RUN_MODE production ENV SENDMAIL_PATH /dev/null ENV PHPRC ${MAGENTO_ROOT}/php.ini -ENV PHP_EXTENSIONS bcmath bz2 calendar exif gd gettext intl mysqli opcache pdo_mysql redis soap sockets sodium sysvmsg sysvsem sysvshm xsl zip pcntl +ENV PHP_EXTENSIONS bcmath bz2 calendar exif gd gettext intl mysqli opcache pdo_mysql redis soap sockets sodium sysvmsg sysvsem sysvshm xsl zip pcntl ftp # Configure Node.js version RUN curl -sL https://deb.nodesource.com/setup_lts.x | bash @@ -114,7 +114,8 @@ RUN docker-php-ext-install -j$(nproc) \ tidy \ xsl \ zip \ - pcntl + pcntl \ + ftp RUN pecl install -o -f \ gnupg \ diff --git a/images/php/8.3-fpm/Dockerfile b/images/php/8.3-fpm/Dockerfile index 039114c4..648830f1 100644 --- a/images/php/8.3-fpm/Dockerfile +++ b/images/php/8.3-fpm/Dockerfile @@ -22,7 +22,7 @@ ENV UPLOAD_MAX_FILESIZE 64M ENV SENDMAIL_PATH /dev/null ENV PHPRC ${MAGENTO_ROOT}/php.ini -ENV PHP_EXTENSIONS bcmath bz2 calendar exif gd gettext intl mysqli opcache pdo_mysql redis soap sockets sodium sysvmsg sysvsem sysvshm xsl zip pcntl +ENV PHP_EXTENSIONS bcmath bz2 calendar exif gd gettext intl mysqli opcache pdo_mysql redis soap sockets sodium sysvmsg sysvsem sysvshm xsl zip pcntl ftp # Install dependencies RUN apt-get update \ @@ -89,7 +89,8 @@ RUN docker-php-ext-install -j$(nproc) \ tidy \ xsl \ zip \ - pcntl + pcntl \ + ftp RUN pecl install -o -f \ gnupg \