Add PHP
This commit is contained in:
13
PHP/Dockerfile
Normal file
13
PHP/Dockerfile
Normal 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
|
||||
Reference in New Issue
Block a user