forked from webdevops/Dockerfile
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] gd config for official php images
- Loading branch information
Hans Höchtl
committed
Dec 17, 2019
1 parent
7a8107e
commit 091c458
Showing
8 changed files
with
28 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ RUN mkdir -p \ | |
&& "/baselayout/sbin/gosu" nobody true | ||
|
||
|
||
FROM php:7.3-fpm-stretch | ||
FROM php:7.3-fpm-buster | ||
|
||
LABEL [email protected] \ | ||
vendor=WebDevOps.io \ | ||
|
@@ -128,6 +128,7 @@ RUN set -x \ | |
libzip4 \ | ||
# Dev and headers | ||
libjpeg62-turbo-dev \ | ||
libwebp-dev \ | ||
libfreetype6-dev \ | ||
libbz2-dev \ | ||
libicu-dev \ | ||
|
@@ -154,7 +155,7 @@ RUN set -x \ | |
&& cp guetzli-master/bin/Release/guetzli /usr/local/bin/ \ | ||
&& rm -rf master.zip guetzli-master \ | ||
# Install extensions | ||
&& docker-php-ext-configure gd --with-jpeg --with-freetype --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \ | ||
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ --with-webp-dir=/usr/include/ \ | ||
&& docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ \ | ||
&& PHP_OPENSSL=yes docker-php-ext-configure imap --with-kerberos --with-imap-ssl \ | ||
&& docker-php-ext-install \ | ||
|
@@ -218,6 +219,7 @@ RUN set -x \ | |
libxslt1-dev \ | ||
zlib1g-dev \ | ||
libpng-dev \ | ||
libwebp-dev \ | ||
libpq-dev \ | ||
libzip-dev \ | ||
libvips-dev \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters