GEWIS / gewisweb

GEWIS Website

Home Page:https://gewis.nl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix `Imagick` builds intermittently failing

tomudding opened this issue · comments

Current behaviour

Ever since we moved to PHP 8.3 we have had intermittent failures of the Docker image builds due to an issue in the Imagick source. We see the same for the GitHub actions after merging GH-1844.

Desired behaviour

Instead of

    && pecl install imagick \
    && docker-php-ext-enable imagick \

we build from source:

    && mkdir -p /usr/src/php/ext/imagick \
    && curl -fsSL https://github.com/Imagick/imagick/archive/28f27044e435a2b203e32675e942eb8de620ee58.tar.gz | tar xvz -C "/usr/src/php/ext/imagick" --strip 1 \
    && docker-php-ext-install imagick \

Steps to reproduce

Try to build the Docker images and sometimes it will not work.

Website version

72c7136

What operating are you seeing the problem on?

No response

What browsers are you seeing the problem on?

No response

Other information

No response