Skip to content

Commit

Permalink
test imagick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Apfelwurm committed Sep 30, 2024
1 parent 3f37b82 commit 6bc83c1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ ENV NGINX_DOCUMENT_ROOT /web/html

# Install Dependencies

ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/

RUN apk add --no-cache --virtual .build-deps \
gcc \
g++ \
Expand Down Expand Up @@ -51,8 +53,8 @@ RUN addgroup -S nginx \

# Install PHP exts
RUN docker-php-ext-configure gd --with-freetype --with-webp --with-jpeg && \
docker-php-ext-install mysqli pdo_mysql gd bcmath intl imagick/imagick@28f27044e435a2b203e32675e942eb8de620ee58
#RUN pecl install imagick
docker-php-ext-install mysqli pdo_mysql gd bcmath intl
RUN install-php-extensions imagick/imagick@28f27044e435a2b203e32675e942eb8de620ee58
RUN docker-php-ext-enable imagick


Expand Down

0 comments on commit 6bc83c1

Please sign in to comment.