Skip to content

Commit

Permalink
Add memcached to PHP 8.3 and update everywhere else.
Browse files Browse the repository at this point in the history
  • Loading branch information
desrosj committed Dec 4, 2024
1 parent f41510f commit eeb61fb
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 17 deletions.
2 changes: 1 addition & 1 deletion images/7.0/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ RUN set -ex; \
docker-php-ext-install gd opcache mysqli zip exif intl mbstring xml xsl; \
\
pecl install xdebug-2.7.2; \
pecl install memcached-3.1.5; \
pecl install memcached-3.3.0; \
pecl install imagick; \
docker-php-ext-enable imagick; \
\
Expand Down
2 changes: 1 addition & 1 deletion images/7.1/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN set -ex; \
docker-php-ext-install gd opcache mysqli zip exif intl mbstring xml xsl; \
\
pecl install xdebug-2.9.8; \
pecl install memcached-3.1.5; \
pecl install memcached-3.3.0; \
pecl install imagick; \
docker-php-ext-enable imagick; \
\
Expand Down
2 changes: 1 addition & 1 deletion images/7.2/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN set -ex; \
docker-php-ext-install gd opcache mysqli zip exif intl mbstring xml xsl; \
\
pecl install xdebug-3.1.6; \
pecl install memcached-3.1.5; \
pecl install memcached-3.3.0; \
pecl install imagick; \
docker-php-ext-enable imagick; \
\
Expand Down
2 changes: 1 addition & 1 deletion images/7.3/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN set -ex; \
docker-php-ext-install gd opcache mysqli zip exif intl mbstring xml xsl; \
\
pecl install xdebug-3.1.6; \
pecl install memcached-3.1.5; \
pecl install memcached-3.3.0; \
pecl install imagick; \
docker-php-ext-enable imagick; \
\
Expand Down
2 changes: 1 addition & 1 deletion images/7.4/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN set -ex; \
docker-php-ext-install gd opcache mysqli zip exif intl mbstring xml xsl; \
\
pecl install xdebug-3.1.6; \
pecl install memcached-3.1.5; \
pecl install memcached-3.3.0; \
pecl install imagick; \
docker-php-ext-enable imagick; \
\
Expand Down
2 changes: 1 addition & 1 deletion images/8.0/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ RUN set -ex; \
curl --location --output /usr/local/bin/pickle https://github.com/FriendsOfPHP/pickle/releases/download/v0.7.11/pickle.phar; \
chmod +x /usr/local/bin/pickle; \
\
pickle install memcached-3.2.0; \
pickle install memcached-3.3.0; \
pickle install xdebug-3.4.0; \
pickle install imagick; \
docker-php-ext-enable imagick; \
Expand Down
2 changes: 1 addition & 1 deletion images/8.1/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ RUN set -ex; \
curl --location --output /usr/local/bin/pickle https://github.com/FriendsOfPHP/pickle/releases/download/v0.7.11/pickle.phar; \
chmod +x /usr/local/bin/pickle; \
\
pickle install memcached-3.2.0; \
pickle install memcached-3.3.0; \
pickle install xdebug-3.4.0; \
pickle install imagick; \
docker-php-ext-enable imagick; \
Expand Down
2 changes: 1 addition & 1 deletion images/8.2/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ RUN set -ex; \
curl --location --output /usr/local/bin/pickle https://github.com/FriendsOfPHP/pickle/releases/download/v0.7.11/pickle.phar; \
chmod +x /usr/local/bin/pickle; \
\
pickle install memcached-3.2.0; \
pickle install memcached-3.3.0; \
pickle install xdebug-3.4.0; \
pickle install imagick; \
docker-php-ext-enable imagick; \
Expand Down
1 change: 1 addition & 0 deletions images/8.3/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ RUN set -ex; \
curl --location --output /usr/local/bin/pickle https://github.com/FriendsOfPHP/pickle/releases/download/v0.7.11/pickle.phar; \
chmod +x /usr/local/bin/pickle; \
\
pickle install memcached-3.3.0; \
pickle install xdebug-3.4.0; \
\
curl --silent --fail --location --retry 3 --output /tmp/installer.php --url https://getcomposer.org/installer; \
Expand Down
18 changes: 9 additions & 9 deletions update.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
'base_name' => 'php:7.2-fpm',
'apt' => array( 'libjpeg-dev', 'libpng-dev', 'libwebp-dev', 'libzip-dev', 'libmemcached-dev', 'unzip', 'libmagickwand-dev', 'ghostscript', 'libonig-dev', 'locales', 'sudo', 'rsync', 'libxslt-dev' ),
'extensions' => array( 'gd', 'opcache', 'mysqli', 'zip', 'exif', 'intl', 'mbstring', 'xml', 'xsl' ),
'pecl_extensions' => array( 'xdebug-3.1.6', 'memcached-3.1.5', 'imagick' ),
'pecl_extensions' => array( 'xdebug-3.1.6', 'memcached-3.3.0', 'imagick' ),
'composer' => true,
),
'phpunit' => 7,
Expand All @@ -46,7 +46,7 @@
'base_name' => 'php:7.3-fpm',
'apt' => array( 'libjpeg-dev', 'libpng-dev', 'libwebp-dev', 'libzip-dev', 'libmemcached-dev', 'unzip', 'libmagickwand-dev', 'ghostscript', 'libonig-dev', 'locales', 'sudo', 'rsync', 'libxslt-dev' ),
'extensions' => array( 'gd', 'opcache', 'mysqli', 'zip', 'exif', 'intl', 'mbstring', 'xml', 'xsl' ),
'pecl_extensions' => array( 'xdebug-3.1.6', 'memcached-3.1.5', 'imagick' ),
'pecl_extensions' => array( 'xdebug-3.1.6', 'memcached-3.3.0', 'imagick' ),
'composer' => true,
),
'phpunit' => 7,
Expand All @@ -60,7 +60,7 @@
'base_name' => 'php:7.4-fpm',
'apt' => array( 'libjpeg-dev', 'libpng-dev', 'libwebp-dev', 'libzip-dev', 'libmemcached-dev', 'unzip', 'libmagickwand-dev', 'ghostscript', 'libonig-dev', 'locales', 'sudo', 'rsync', 'libxslt-dev' ),
'extensions' => array( 'gd', 'opcache', 'mysqli', 'zip', 'exif', 'intl', 'mbstring', 'xml', 'xsl' ),
'pecl_extensions' => array( 'xdebug-3.1.6', 'memcached-3.1.5', 'imagick' ),
'pecl_extensions' => array( 'xdebug-3.1.6', 'memcached-3.3.0', 'imagick' ),
'composer' => true,
),
'phpunit' => 7,
Expand All @@ -74,7 +74,7 @@
'base_name' => 'php:8.0-fpm',
'apt' => array( 'libjpeg-dev', 'libpng-dev', 'libwebp-dev', 'libzip-dev', 'libmemcached-dev', 'unzip', 'libmagickwand-dev', 'ghostscript', 'libonig-dev', 'locales', 'sudo', 'rsync', 'libxslt-dev' ),
'extensions' => array( 'gd', 'opcache', 'mysqli', 'zip', 'exif', 'intl', 'mbstring', 'xml', 'xsl' ),
'pecl_extensions' => array( 'memcached-3.2.0', 'xdebug-3.4.0', 'imagick' ),
'pecl_extensions' => array( 'memcached-3.3.0', 'xdebug-3.4.0', 'imagick' ),
'composer' => true,
),
'phpunit' => 9,
Expand All @@ -88,7 +88,7 @@
'base_name' => 'php:8.1-fpm',
'apt' => array( 'libjpeg-dev', 'libpng-dev', 'libwebp-dev', 'libzip-dev', 'libmemcached-dev', 'unzip', 'libmagickwand-dev', 'ghostscript', 'libonig-dev', 'locales', 'sudo', 'rsync', 'libxslt-dev' ),
'extensions' => array( 'gd', 'opcache', 'mysqli', 'zip', 'exif', 'intl', 'mbstring', 'xml', 'xsl' ),
'pecl_extensions' => array( 'memcached-3.2.0', 'xdebug-3.4.0', 'imagick' ),
'pecl_extensions' => array( 'memcached-3.3.0', 'xdebug-3.4.0', 'imagick' ),
'composer' => true,
),
'phpunit' => 9,
Expand All @@ -102,7 +102,7 @@
'base_name' => 'php:8.2-fpm',
'apt' => array( 'libjpeg-dev', 'libpng-dev', 'libwebp-dev', 'libzip-dev', 'libmemcached-dev', 'unzip', 'libmagickwand-dev', 'ghostscript', 'libonig-dev', 'locales', 'sudo', 'rsync', 'libxslt-dev' ),
'extensions' => array( 'gd', 'opcache', 'mysqli', 'zip', 'exif', 'intl', 'mbstring', 'xml', 'xsl' ),
'pecl_extensions' => array( 'memcached-3.2.0', 'xdebug-3.4.0', 'imagick' ),
'pecl_extensions' => array( 'memcached-3.3.0', 'xdebug-3.4.0', 'imagick' ),
'composer' => true,
),
'phpunit' => 9,
Expand All @@ -116,7 +116,7 @@
'base_name' => 'php:8.3-fpm',
'apt' => array( 'libjpeg-dev', 'libpng-dev', 'libwebp-dev', 'libzip-dev', 'libmemcached-dev', 'unzip', 'libmagickwand-dev', 'ghostscript', 'libonig-dev', 'locales', 'sudo', 'rsync', 'libxslt-dev' ),
'extensions' => array( 'gd', 'opcache', 'mysqli', 'zip', 'exif', 'intl', 'mbstring', 'xml', 'xsl' ),
'pecl_extensions' => array( 'xdebug-3.4.0' ),
'pecl_extensions' => array( 'memcached-3.3.0', 'xdebug-3.4.0' ),
'composer' => true,
),
'phpunit' => 9,
Expand Down Expand Up @@ -251,7 +251,7 @@
'base_name' => 'php:7.0-fpm',
'apt' => array( 'libjpeg-dev', 'libpng-dev', 'libwebp-dev', 'libzip-dev', 'libmemcached-dev', 'unzip', 'libmagickwand-dev', 'ghostscript', 'libonig-dev', 'locales', 'sudo', 'rsync', 'libxslt-dev' ),
'extensions' => array( 'gd', 'opcache', 'mysqli', 'zip', 'exif', 'intl', 'mbstring', 'xml', 'xsl' ),
'pecl_extensions' => array( 'xdebug-2.7.2', 'memcached-3.1.5', 'imagick' ),
'pecl_extensions' => array( 'xdebug-2.7.2', 'memcached-3.3.0', 'imagick' ),
'composer' => true,
),
'phpunit' => 6,
Expand All @@ -265,7 +265,7 @@
'base_name' => 'php:7.1-fpm',
'apt' => array( 'libjpeg-dev', 'libpng-dev', 'libwebp-dev', 'libzip-dev', 'libmemcached-dev', 'unzip', 'libmagickwand-dev', 'ghostscript', 'libonig-dev', 'locales', 'sudo', 'rsync', 'libxslt-dev' ),
'extensions' => array( 'gd', 'opcache', 'mysqli', 'zip', 'exif', 'intl', 'mbstring', 'xml', 'xsl' ),
'pecl_extensions' => array( 'xdebug-2.9.8', 'memcached-3.1.5', 'imagick' ),
'pecl_extensions' => array( 'xdebug-2.9.8', 'memcached-3.3.0', 'imagick' ),
'composer' => true,
),
'phpunit' => 7,
Expand Down

0 comments on commit eeb61fb

Please sign in to comment.