barrel/Dockerfile: Add 'gd' freetype support
This commit is contained in:
parent
b62500726a
commit
b461893834
1 changed files with 22 additions and 8 deletions
|
|
@ -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 \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue