Skip to content

Commit 87e54df

Browse files
committed
chore: remove unused setting
Also was reordered the extensions Signed-off-by: Vitor Mattos <[email protected]>
1 parent 6a72b3f commit 87e54df

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

.docker/Dockerfile.php81

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ RUN chmod uga+x /usr/local/bin/install-php-extensions && sync \
77
apcu \
88
bcmath \
99
bz2 \
10-
gettext \
10+
exif \
1111
gd \
12+
gettext \
1213
gmp \
13-
exif \
1414
imagick \
1515
intl \
1616
memcache \
@@ -30,8 +30,6 @@ RUN chmod uga+x /usr/local/bin/install-php-extensions && sync \
3030
zip \
3131
@composer \
3232
&& rm /usr/local/bin/install-php-extensions \
33-
# make possible ImageMagic handle PDF files
34-
&& sed -i'' 's|.*<policy domain="coder".*"PDF".*|<policy domain="coder" rights="read \| write" pattern="PDF" />|g' /etc/ImageMagick-6/policy.xml \
3533
# pevent errors when try to create files at /var/www with user www-data
3634
&& chown -R www-data /var/www
3735

.docker/Dockerfile.php82

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ RUN chmod uga+x /usr/local/bin/install-php-extensions && sync \
77
apcu \
88
bcmath \
99
bz2 \
10-
gettext \
10+
exif \
1111
gd \
12+
gettext \
1213
gmp \
13-
exif \
1414
imagick \
1515
intl \
1616
memcache \
@@ -30,8 +30,6 @@ RUN chmod uga+x /usr/local/bin/install-php-extensions && sync \
3030
zip \
3131
@composer \
3232
&& rm /usr/local/bin/install-php-extensions \
33-
# make possible ImageMagic handle PDF files
34-
&& sed -i'' 's|.*<policy domain="coder".*"PDF".*|<policy domain="coder" rights="read \| write" pattern="PDF" />|g' /etc/ImageMagick-6/policy.xml \
3533
# pevent errors when try to create files at /var/www with user www-data
3634
&& chown -R www-data /var/www
3735

.docker/Dockerfile.php83

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ RUN chmod uga+x /usr/local/bin/install-php-extensions && sync \
77
apcu \
88
bcmath \
99
bz2 \
10-
gettext \
10+
exif \
1111
gd \
12+
gettext \
1213
gmp \
13-
exif \
1414
imagick \
1515
intl \
1616
memcache \
@@ -30,8 +30,6 @@ RUN chmod uga+x /usr/local/bin/install-php-extensions && sync \
3030
zip \
3131
@composer \
3232
&& rm /usr/local/bin/install-php-extensions \
33-
# make possible ImageMagic handle PDF files
34-
&& sed -i'' 's|.*<policy domain="coder".*"PDF".*|<policy domain="coder" rights="read \| write" pattern="PDF" />|g' /etc/ImageMagick-6/policy.xml \
3533
# pevent errors when try to create files at /var/www with user www-data
3634
&& chown -R www-data /var/www
3735

0 commit comments

Comments
 (0)