File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ FROM php:${PHP_VERSION}
44
55WORKDIR /tmp
66
7- RUN CC=gcc apt-get update && apt-get install -y --no-install-recommends \
7+ RUN apt-get update && apt-get install -y --no-install-recommends \
88 libpng-dev \
99 libmcrypt-dev \
1010 libzip-dev \
@@ -13,17 +13,17 @@ RUN CC=gcc apt-get update && apt-get install -y --no-install-recommends \
1313 libxml2-dev \
1414 libpq-dev \
1515 libonig-dev \
16- imagemagick \
1716 jpegoptim \
1817 libwebp-dev \
1918 curl \
2019 build-essential \
2120 autoconf \
2221 libtool \
2322 pkg-config \
24- libmagickcore-6.q16-dev \
25- libmagickwand-dev \
2623 libjpeg-dev \
24+ libmagickcore-dev \
25+ libmagickwand-dev \
26+ imagemagick \
2727 && curl -L -o /tmp/imagick.tar.gz https://github.com/Imagick/imagick/archive/tags/3.7.0.tar.gz \
2828 && tar --strip-components=1 -vxf /tmp/imagick.tar.gz \
2929 && sed -i 's/php_strtolower/zend_str_tolower/g' imagick.c \
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ FROM php:${PHP_VERSION}-apache
44
55WORKDIR /tmp
66
7- RUN CC=gcc apt-get update && apt-get install -y --no-install-recommends \
7+ RUN apt-get update && apt-get install -y --no-install-recommends \
88 libpng-dev \
99 libmcrypt-dev \
1010 libzip-dev \
@@ -13,16 +13,16 @@ RUN CC=gcc apt-get update && apt-get install -y --no-install-recommends \
1313 libxml2-dev \
1414 libpq-dev \
1515 libonig-dev \
16- imagemagick \
1716 jpegoptim \
1817 libwebp-dev \
1918 curl \
2019 build-essential \
2120 autoconf \
2221 libtool \
2322 pkg-config \
24- libmagickcore-6.q16- dev \
23+ libmagickcore-dev \
2524 libmagickwand-dev \
25+ imagemagick \
2626 libjpeg-dev \
2727 && curl -L -o /tmp/imagick.tar.gz https://github.com/Imagick/imagick/archive/tags/3.7.0.tar.gz \
2828 && tar --strip-components=1 -vxf /tmp/imagick.tar.gz \
You can’t perform that action at this time.
0 commit comments