Skip to content

Commit

Permalink
Adding gd to php ext
Browse files Browse the repository at this point in the history
Adding library gb and libpng-dev
  • Loading branch information
yansellrivasdiaz authored Aug 4, 2021
1 parent 51aa550 commit 09597c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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/
Expand Down

0 comments on commit 09597c4

Please sign in to comment.