barrel/Dockerfile: Add 'gd' freetype support

This commit is contained in:
Tom Wiesing 2020-10-27 10:49:09 +01:00
parent b62500726a
commit b461893834
No known key found for this signature in database
GPG key ID: DC1F29F2BC78AB15

View file

@ -3,19 +3,33 @@ WORKDIR /var/www
# install and enable the various required php extension # install and enable the various required php extension
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
libcurl4-openssl-dev curl \ curl \
libpng-dev \
libicu-dev \
libxml2-dev \
libssh2-1-dev \
sudo \
zip unzip \
default-mysql-client \ default-mysql-client \
imagemagick \
git \ git \
imagemagick \
libcurl4-openssl-dev \
libfreetype6-dev \
libicu-dev \
libjpeg62-turbo-dev \
libpng-dev \
libssh2-1-dev \
libwebp-dev \
libxml2-dev \
libxpm-dev \
sudo \
unzip \
vim \ vim \
zip \
&& \ && \
docker-php-source extract && \ docker-php-source extract && \
docker-php-ext-configure gd \
--enable-gd \
--with-webp \
--with-jpeg \
--with-xpm \
--with-freetype \
--enable-gd-jis-conv \
&& \
docker-php-ext-install \ docker-php-ext-install \
curl \ curl \
gd \ gd \