Skip to content

Commit

Permalink
docker-php-ext-configure gd - update configure options
Browse files Browse the repository at this point in the history
  • Loading branch information
bscheshirwork committed Dec 25, 2019
1 parent 8ac6678 commit 1aeb99e
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 18 deletions.
6 changes: 2 additions & 4 deletions yii2-alpine-supervisor-xdebug/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@ RUN apk --update add \
nodejs \
postgresql-dev && \
docker-php-ext-configure gd \
--with-gd \
--with-freetype-dir=/usr/include/ \
--with-jpeg-dir=/usr/include/ \
--with-png-dir=/usr/include/ && \
--with-freetype \
--with-jpeg && \
docker-php-ext-configure bcmath && \
docker-php-ext-configure pgsql --with-pgsql=/usr/local/pgsql && \
docker-php-ext-install \
Expand Down
6 changes: 2 additions & 4 deletions yii2-alpine-supervisor/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@ RUN apk --update add \
nodejs \
postgresql-dev && \
docker-php-ext-configure gd \
--with-gd \
--with-freetype-dir=/usr/include/ \
--with-jpeg-dir=/usr/include/ \
--with-png-dir=/usr/include/ && \
--with-freetype \
--with-jpeg && \
docker-php-ext-configure bcmath && \
docker-php-ext-configure pgsql --with-pgsql=/usr/local/pgsql && \
docker-php-ext-install \
Expand Down
6 changes: 2 additions & 4 deletions yii2-alpine-xdebug/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@ RUN apk --update add \
nodejs \
postgresql-dev && \
docker-php-ext-configure gd \
--with-gd \
--with-freetype-dir=/usr/include/ \
--with-jpeg-dir=/usr/include/ \
--with-png-dir=/usr/include/ && \
--with-freetype \
--with-jpeg && \
docker-php-ext-configure bcmath && \
docker-php-ext-configure pgsql --with-pgsql=/usr/local/pgsql && \
docker-php-ext-install \
Expand Down
6 changes: 2 additions & 4 deletions yii2-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@ RUN apk --update add \
nodejs \
postgresql-dev && \
docker-php-ext-configure gd \
--with-gd \
--with-freetype-dir=/usr/include/ \
--with-jpeg-dir=/usr/include/ \
--with-png-dir=/usr/include/ && \
--with-freetype \
--with-jpeg && \
docker-php-ext-configure bcmath && \
docker-php-ext-configure pgsql --with-pgsql=/usr/local/pgsql && \
docker-php-ext-install \
Expand Down
4 changes: 3 additions & 1 deletion yii2-xdebug/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ RUN apt-get update && \
apt-get install -y $mainDependencies \
--no-install-recommends && \
docker-php-ext-configure intl && \
docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ --with-png-dir=/usr/include/ && \
docker-php-ext-configure gd \
--with-freetype \
--with-jpeg && \
docker-php-ext-configure pgsql --with-pgsql=/usr/local/pgsql && \
docker-php-ext-install -j$(nproc) pdo_mysql pdo_pgsql pgsql intl gd zip && \
# imagick
Expand Down
4 changes: 3 additions & 1 deletion yii2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ RUN apt-get update && \
apt-get install -y $mainDependencies \
--no-install-recommends && \
docker-php-ext-configure intl && \
docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ --with-png-dir=/usr/include/ && \
docker-php-ext-configure gd \
--with-freetype \
--with-jpeg && \
docker-php-ext-configure pgsql --with-pgsql=/usr/local/pgsql && \
docker-php-ext-install -j$(nproc) pdo_mysql pdo_pgsql pgsql intl gd zip && \
# imagick
Expand Down

0 comments on commit 1aeb99e

Please sign in to comment.