File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,13 +9,21 @@ RUN apt-get update && apt-get install -y \
99 libpq-dev \
1010 libmemcached-dev \
1111 curl \
12+ libpng12-dev \
13+ libfreetype6-dev \
1214 --no-install-recommends \
1315 && rm -r /var/lib/apt/lists/*
1416
17+ # configure gd library
18+ RUN docker-php-ext-configure gd \
19+ --enable-gd-native-ttf \
20+ --with-freetype-dir=/usr/include/freetype2
21+
1522# Install extensions using the helper script provided by the base image
1623RUN docker-php-ext-install \
1724 pdo_mysql \
18- pdo_pgsql
25+ pdo_pgsql \
26+ gd
1927
2028# Install memcached
2129RUN pecl install memcached \
Original file line number Diff line number Diff line change @@ -9,13 +9,21 @@ RUN apt-get update && apt-get install -y \
99 libpq-dev \
1010 libmemcached-dev \
1111 curl \
12+ libpng12-dev \
13+ libfreetype6-dev \
1214 --no-install-recommends \
1315 && rm -r /var/lib/apt/lists/*
1416
17+ # configure gd library
18+ RUN docker-php-ext-configure gd \
19+ --enable-gd-native-ttf \
20+ --with-freetype-dir=/usr/include/freetype2
21+
1522# Install extensions using the helper script provided by the base image
1623RUN docker-php-ext-install \
1724 pdo_mysql \
18- pdo_pgsql
25+ pdo_pgsql \
26+ gd
1927
2028# Install memcached
2129RUN pecl install memcached \
Original file line number Diff line number Diff line change @@ -9,13 +9,21 @@ RUN apt-get update && apt-get install -y \
99 libpq-dev \
1010 libmemcached-dev \
1111 curl \
12+ libpng12-dev \
13+ libfreetype6-dev \
1214 --no-install-recommends \
1315 && rm -r /var/lib/apt/lists/*
1416
17+ # configure gd library
18+ RUN docker-php-ext-configure gd \
19+ --enable-gd-native-ttf \
20+ --with-freetype-dir=/usr/include/freetype2
21+
1522# Install extensions using the helper script provided by the base image
1623RUN docker-php-ext-install \
1724 pdo_mysql \
18- pdo_pgsql
25+ pdo_pgsql \
26+ gd
1927
2028# Install Memcached for php 7
2129RUN curl -L -o /tmp/memcached.tar.gz "https://github.com/php-memcached-dev/php-memcached/archive/php7.tar.gz" \
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ RUN apt-get update && apt-get install -y --force-yes \
3434 php7.0-sqlite3 \
3535 php7.0-zip \
3636 php7.0-memcached \
37+ php7.0-gd \
3738 php-dev \
3839 libcurl4-openssl-dev \
3940 libedit-dev \
You can’t perform that action at this time.
0 commit comments