Skip to content

Commit

Permalink
Fix php image because of the change from base alpine to debian
Browse files Browse the repository at this point in the history
  • Loading branch information
duboiss committed May 20, 2022
1 parent c9ba6cf commit 16243e6
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions php/Dockerfile
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

0 comments on commit 16243e6

Please sign in to comment.