Browse Source

add exif extension for php

master
filesite 3 weeks ago
parent
commit
3799962583
  1. 1
      Dockerfile

1
Dockerfile

@ -1,6 +1,7 @@
FROM php:8.2-fpm-alpine3.20 FROM php:8.2-fpm-alpine3.20
RUN apk add autoconf gcc musl-dev make imagemagick-dev rsync nginx zlib-dev libpng-dev freetype-dev libjpeg-turbo-dev libwebp-dev \ RUN apk add autoconf gcc musl-dev make imagemagick-dev rsync nginx zlib-dev libpng-dev freetype-dev libjpeg-turbo-dev libwebp-dev \
&& docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp \ && docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp \
&& docker-php-ext-install exif \
&& docker-php-ext-install -j$(nproc) gd \ && docker-php-ext-install -j$(nproc) gd \
&& pecl install imagick && docker-php-ext-enable imagick \ && pecl install imagick && docker-php-ext-enable imagick \
&& cp /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini \ && cp /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini \

Loading…
Cancel
Save