This commit is contained in:
Primož Pokeržnik
2024-05-15 10:53:46 +02:00
parent 052783da09
commit 186b09e37e
4 changed files with 66 additions and 0 deletions

13
PHP/Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM php:8.2-fpm
RUN apt-get update && \
apt-get install -y zip curl libcurl3-dev libzip-dev libpng-dev libonig-dev libxml2-dev
RUN docker-php-ext-install curl gd mbstring mysqli pdo pdo_mysql xml
RUN apt-get install -y libmagickwand-dev
RUN pecl install imagick
RUN docker-php-ext-enable imagick
RUN apt-get purge -y libmagickwand-dev
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer