Skip to content

Commit

Permalink
Merge pull request #82 from EmakinaFR/hotfix/php-image
Browse files Browse the repository at this point in the history
  • Loading branch information
duboiss committed May 23, 2022
2 parents c9ba6cf + 16243e6 commit 4d36944
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions php/Dockerfile
@@ -1,14 +1,18 @@
FROM ajardin/php:7.4 as proximis_php

RUN \
apk add --no-cache autoconf g++ gcc imagemagick-dev ncurses && \
pecl install igbinary imagick && \
docker-php-ext-enable igbinary imagick
RUN apt update && \
apt upgrade -y && \
apt install -y \
autoconf g++ gcc libmagickwand-dev libmagickcore-dev ncurses-base && \
pecl install igbinary imagick && \
docker-php-ext-enable igbinary imagick

# ========================================
FROM ajardin/php:7.4-xdebug as proximis_php_xdebug

RUN \
apk add --no-cache autoconf g++ gcc imagemagick-dev ncurses && \
pecl install igbinary imagick && \
docker-php-ext-enable igbinary imagick
RUN apt update && \
apt upgrade -y && \
apt install -y \
autoconf g++ gcc libmagickwand-dev libmagickcore-dev ncurses-base && \
pecl install igbinary imagick && \
docker-php-ext-enable igbinary imagick

0 comments on commit 4d36944

Please sign in to comment.