feat: add php83 dockerfile, update docker-image workflow

This commit is contained in:
2024-05-31 22:15:56 +03:00
parent 0249c744c1
commit fa8c2e43ce
2 changed files with 18 additions and 1 deletions

View File

@@ -26,7 +26,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [php74, php80, php81, php82]
php: [php74, php80, php81, php82, php83]
arch: ['linux/amd64', 'linux/arm64']
steps:

17
Dockerfile-php83 Normal file
View File

@@ -0,0 +1,17 @@
FROM php:8.3
RUN docker-php-ext-install bcmath \
&& docker-php-ext-configure pcntl \
&& docker-php-ext-install pcntl \
&& apt-get update \
&& apt-get install -y \
libicu-dev libxml2-dev libfreetype6-dev libjpeg62-turbo-dev \
libpng-dev libonig-dev libmagickwand-dev python-dev unzip \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
&& docker-php-ext-install -j$(nproc) intl mbstring pdo xml gd exif bcmath \
&& yes '' | pecl install imagick \
&& docker-php-ext-enable imagick \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN php --version \
&& composer --version \