Skip to content

Commit

Permalink
Use prebuilt imagick package for php 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
en-jschuetze authored Jan 8, 2024
1 parent 92fb3ab commit de54dbb
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,7 @@ RUN apk add --no-cache ${PHP_PACKAGE_BASENAME}-pecl-amqp
RUN apk add --no-cache ${PHP_PACKAGE_BASENAME}-pecl-apcu
RUN apk add --no-cache ${PHP_PACKAGE_BASENAME}-tokenizer
RUN apk add --no-cache ${PHP_PACKAGE_BASENAME}-pecl-igbinary
# FIXME: # FIXME: RUN apk add --no-cache ${PHP_PACKAGE_BASENAME}-pecl-imagick
RUN apk add --no-cache binutils build-base openssl-dev autoconf pcre2-dev automake libtool linux-headers imagemagick imagemagick-dev imagemagick-libs ${PHP_PACKAGE_BASENAME}-dev~=${PHP_VERSION} --virtual .build-deps \
&& MAKEFLAGS="-j $(nproc)" pecl83 install imagick \
&& strip --strip-all /usr/lib/$PHP_PACKAGE_BASENAME/modules/imagick.so \
&& echo "extension=imagick" > /etc/$PHP_PACKAGE_BASENAME/conf.d/00_imagick.ini \
&& apk del --no-network .build-deps \
&& apk add --no-cache imagemagick imagemagick-libs libgomp

RUN apk add --no-cache ${PHP_PACKAGE_BASENAME}-pecl-imagick
RUN apk add --no-cache ${PHP_PACKAGE_BASENAME}-pecl-msgpack
RUN apk add --no-cache ${PHP_PACKAGE_BASENAME}-redis

Expand Down

0 comments on commit de54dbb

Please sign in to comment.