1
0
mirror of https://github.com/Intervention/image.git synced 2025-01-16 11:49:02 +01:00
intervention_image/Dockerfile
2024-01-14 14:46:15 +01:00

25 lines
643 B
Docker

FROM php:8.1-cli
# install dependencies
RUN apt update \
&& apt install -y \
libmagickwand-dev \
libwebp-dev \
libpng-dev \
libavif-dev \
git \
zip \
&& pecl install imagick \
&& pecl install xdebug \
&& docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp --with-avif \
&& docker-php-ext-enable \
imagick \
xdebug \
&& docker-php-ext-install \
gd \
exif \
&& apt-get clean
# install composer
COPY --from=composer /usr/bin/composer /usr/bin/composer