Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #82 from EmakinaFR/hotfix/php-image
- Loading branch information
Showing
1 changed file
with
12 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |