File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,14 +11,22 @@ RUN apt-get update && apt-get install -y \
1111 curl \
1212 mysql-client \
1313 postgresql-client \
14+ libpng12-dev \
15+ libfreetype6-dev \
1416 --no-install-recommends && \
1517 rm -r /var/lib/apt/lists/*
1618
19+ # configure gd library
20+ RUN docker-php-ext-configure gd \
21+ --enable-gd-native-ttf \
22+ --with-freetype-dir=/usr/include/freetype2
23+
1724# Install extensions using the helper script provided by the base image
1825RUN docker-php-ext-install \
1926 pdo_mysql \
2027 pdo_pgsql \
21- mysqli
28+ mysqli \
29+ gd
2230
2331# Install xdebug
2432RUN pecl install xdebug && \
Original file line number Diff line number Diff line change @@ -11,14 +11,22 @@ RUN apt-get update && apt-get install -y \
1111 curl \
1212 mysql-client \
1313 postgresql-client \
14+ libpng12-dev \
15+ libfreetype6-dev \
1416 --no-install-recommends && \
1517 rm -r /var/lib/apt/lists/*
1618
19+ # configure gd library
20+ RUN docker-php-ext-configure gd \
21+ --enable-gd-native-ttf \
22+ --with-freetype-dir=/usr/include/freetype2
23+
1724# Install extensions using the helper script provided by the base image
1825RUN docker-php-ext-install \
1926 pdo_mysql \
2027 pdo_pgsql \
21- mysqli
28+ mysqli \
29+ gd
2230
2331# Install xdebug
2432RUN pecl install xdebug && \
Original file line number Diff line number Diff line change @@ -11,14 +11,22 @@ RUN apt-get update && apt-get install -y \
1111 curl \
1212 mysql-client \
1313 postgresql-client \
14+ libpng12-dev \
15+ libfreetype6-dev \
1416 --no-install-recommends && \
1517 rm -r /var/lib/apt/lists/*
1618
19+ # configure gd library
20+ RUN docker-php-ext-configure gd \
21+ --enable-gd-native-ttf \
22+ --with-freetype-dir=/usr/include/freetype2
23+
1724# Install extensions using the helper script provided by the base image
1825RUN docker-php-ext-install \
1926 pdo_mysql \
2027 pdo_pgsql \
21- mysqli
28+ mysqli \
29+ gd
2230
2331# Install xdebug
2432RUN pecl install xdebug && \
You can’t perform that action at this time.
0 commit comments