Skip to content

Commit

Permalink
fix: pin Imagick version to fix build error (#102)
Browse files Browse the repository at this point in the history
Related: #102, #103
  • Loading branch information
waja authored Dec 18, 2024
1 parent 3451a62 commit a7ade2c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ FROM docker.io/library/php:${PHP_VERSION}-fpm-alpine${ALPINE_VERSION} as base

ARG SNUFFLEUPAGUS_VERSION

ENV IMAGICK_SHA 28f27044e435a2b203e32675e942eb8de620ee58

RUN apk -U upgrade \
&& apk add -t build-deps \
$PHPIZE_DEPS \
Expand Down Expand Up @@ -72,7 +74,8 @@ RUN apk -U upgrade \
&& pecl install smbclient \
&& pecl install APCu \
&& pecl install redis \
&& pecl install imagick \
&& curl -L -o /tmp/imagick.tar.gz https://github.com/Imagick/imagick/archive/${IMAGICK_SHA}.tar.gz && tar --strip-components=1 -xf /tmp/imagick.tar.gz && phpize && ./configure && make && make install \
&& apk add --no-cache --virtual .imagick-runtime-deps imagemagick \
&& docker-php-ext-enable \
smbclient \
redis \
Expand Down

0 comments on commit a7ade2c

Please sign in to comment.