mirror of
https://github.com/ivuorinen/docker-php-with-imagick-multi.git
synced 2026-02-14 22:49:05 +00:00
feat: add php83 dockerfile, update docker-image workflow
This commit is contained in:
2
.github/workflows/docker-image.yml
vendored
2
.github/workflows/docker-image.yml
vendored
@@ -26,7 +26,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
php: [php74, php80, php81, php82]
|
php: [php74, php80, php81, php82, php83]
|
||||||
arch: ['linux/amd64', 'linux/arm64']
|
arch: ['linux/amd64', 'linux/arm64']
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
17
Dockerfile-php83
Normal file
17
Dockerfile-php83
Normal 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 \
|
||||||
Reference in New Issue
Block a user