Skip to content

Commit

Permalink
Merge pull request #85 from burningmantech/yf-vips
Browse files Browse the repository at this point in the history
Switched to using vips for image processing.
  • Loading branch information
mikeburg authored Dec 27, 2024
2 parents 0dc3f7b + 663e7e8 commit 1aa60c8
Showing 1 changed file with 18 additions and 20 deletions.
38 changes: 18 additions & 20 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,35 +13,31 @@ ADD --chmod=0755 \
# Install OS packages required at runtime
RUN apk update \
&& apk add --no-cache \
git \
icu \
icu-dev \
libffi \
libffi-dev \
libjpeg-turbo \
libjpeg-turbo-dev \
libpng \
libpng-dev \
libwebp \
libwebp-dev \
libxml2 \
libxml2-dev \
libzip \
libzip-dev \
mysql-client \
pcre-dev \
tzdata \
vips \
zip \
git \
icu-dev \
imagemagick \
imagemagick-dev \
libjpeg-turbo-dev \
libpng-dev \
libwebp-dev \
libxml2-dev \
libzip-dev \
pcre-dev ${PHPIZE_DEPS} \
&& install-php-extensions imagick/imagick@28f27044e435a2b203e32675e942eb8de620ee58 \
&& docker-php-ext-configure opcache --enable-opcache \
${PHPIZE_DEPS} \
&& docker-php-ext-configure opcache --enable-opcache \
&& docker-php-ext-configure intl \
&& docker-php-ext-configure exif \
&& docker-php-ext-configure gd \
--with-jpeg=/usr/include/ \
--with-webp=/usr/include/ \
&& docker-php-ext-install -j$(nproc) \
exif \
gd \
&& docker-php-ext-install -j$(nproc) \
intl \
opcache \
pdo \
Expand All @@ -51,10 +47,12 @@ RUN apk update \
&& docker-php-ext-enable swoole \
&& docker-php-ext-configure pcntl --enable-pcntl \
&& docker-php-ext-install pcntl \
&& docker-php-ext-enable imagick \
&& docker-php-ext-install -j$(nproc) exif \
&& docker-php-ext-configure ffi --with-ffi \
&& docker-php-ext-install -j$(nproc) ffi \
&& apk del \
icu-dev \
imagemagick-dev \
libffi-dev \
libjpeg-turbo-dev \
libpng-dev \
libwebp-dev \
Expand Down

0 comments on commit 1aa60c8

Please sign in to comment.