Skip to content

Commit 9341bcf

Browse files
committed
another try
1 parent cbfc2e4 commit 9341bcf

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM php:${PHP_VERSION}
44

55
WORKDIR /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 \

Dockerfile.apache

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM php:${PHP_VERSION}-apache
44

55
WORKDIR /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 \

0 commit comments

Comments
 (0)