Make WordPress Core

Ticket #47552: wpdev-docker-images-47552.patch

File wpdev-docker-images-47552.patch, 1.3 KB (added by SirLouen, 6 months ago)

The patch for wpdev-docker-images

  • images/8.2/php/Dockerfile

    diff --git images/8.2/php/Dockerfile images/8.2/php/Dockerfile
    index 0871f9e..cc9dcda 100644
    RUN set -ex; \ 
    2525        \
    2626        docker-php-ext-configure gd --enable-gd --with-jpeg=/usr --with-webp=/usr; \
    2727        \
    28         docker-php-ext-install gd opcache mysqli zip exif intl mbstring xml xsl; \
     28        docker-php-ext-install gd opcache mysqli zip exif intl mbstring xml xsl pcntl sysvmsg sysvsem sysvshm; \
    2929        \
    3030        pecl install memcached-3.3.0; \
    3131        pecl install xdebug-3.4.0; \
  • update.php

    diff --git update.php update.php
    index 09b0128..c459920 100644
    $php_versions = array( 
    101101                'php' => array(
    102102                        'base_name'       => 'php:8.2-fpm',
    103103                        'apt'             => array( 'libjpeg-dev', 'libpng-dev', 'libwebp-dev', 'libzip-dev', 'libmemcached-dev', 'unzip', 'libmagickwand-dev', 'ghostscript', 'libonig-dev', 'locales', 'sudo', 'rsync', 'libxslt-dev' ),
    104                         'extensions'      => array( 'gd', 'opcache', 'mysqli', 'zip', 'exif', 'intl', 'mbstring', 'xml', 'xsl' ),
     104                        'extensions'      => array( 'gd', 'opcache', 'mysqli', 'zip', 'exif', 'intl', 'mbstring', 'xml', 'xsl', 'pcntl', 'sysvmsg', 'sysvsem', 'sysvshm' ),
    105105                        'pecl_extensions' => array( 'memcached-3.3.0', 'xdebug-3.4.0', 'imagick' ),
    106106                        'composer'        => true,
    107107                ),