diff --git a/php/Dockerfile b/php/Dockerfile index 8dc1933..a9bcc8c 100644 --- a/php/Dockerfile +++ b/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