Created
July 10, 2021 14:11
-
-
Save ChewySalmon/3714dc33b1b0c906f5a7c106e8e93b10 to your computer and use it in GitHub Desktop.
Dockerfile for php-fpm app using GD image processor
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
FROM php:8.0-fpm | |
RUN apt-get update && apt-get install -y \ | |
libfreetype6-dev \ | |
libjpeg-dev \ | |
libpng-dev \ | |
libwebp-dev \ | |
--no-install-recommends \ | |
&& docker-php-ext-configure gd --with-freetype --with-jpeg \ | |
&& docker-php-ext-install pdo_mysql -j$(nproc) gd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment