Skip to content

Commit 41ac5a5

Browse files
Fixes imagick
1 parent 6620f69 commit 41ac5a5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

configs/core/Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,19 @@ RUN apt-get update -y && \
99

1010
# Install imagick and redis
1111
RUN apt-get install -y libmagickwand-dev --no-install-recommends && \
12-
pecl install imagick redis uv
12+
pecl install redis uv
13+
14+
# This is required on PHP 8.3 (check following issue: https://github.com/Imagick/imagick/issues/640)
15+
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
16+
RUN install-php-extensions imagick
1317

1418
# Install node and npm
1519
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - &&\
1620
apt-get install -y nodejs
1721

1822
# Install and enable additional php modules
1923
RUN docker-php-ext-install ffi pdo pdo_mysql gmp bcmath sodium mysqli sockets pcntl gd
20-
RUN docker-php-ext-enable redis imagick
24+
RUN docker-php-ext-enable redis
2125

2226
# Stage: create-application
2327
FROM setup-web-server AS create-application

0 commit comments

Comments
 (0)