From 09597c4ac949b6ae9be6b1420685a4ffb65d7fa3 Mon Sep 17 00:00:00 2001 From: Yansell Rivas Diaz <38452151+yansellrivasdiaz@users.noreply.github.com> Date: Wed, 4 Aug 2021 11:47:09 -0400 Subject: [PATCH] Adding gd to php ext Adding library gb and libpng-dev --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f03883c..8739222 100755 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ FROM php:7.4.16-cli-alpine RUN apk update \ -&& apk add --no-cache --virtual .build-dependencies zip zlib-dev libzip-dev \ +&& apk add --no-cache --virtual .build-dependencies zip zlib-dev libzip-dev libpng-dev \ && php -r "readfile('https://getcomposer.org/installer');" | php -- --install-dir=/usr/local/bin --filename=composer \ && apk del .build-dependencies \ -&& docker-php-ext-install sockets bcmath \ +&& docker-php-ext-install sockets bcmath gd \ && apk add --no-cache git COPY ./custom.ini /usr/local/etc/php/conf.d/