Skip to content

Commit

Permalink
build: fix docker build (monicahq#4931)
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin authored Mar 2, 2021
1 parent dbe0096 commit febbc10
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,14 @@ RUN set -ex; \
libgmp-dev \
libmemcached-dev \
libmagickwand-dev \
libwebp-dev \
; \
\
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
if [ ! -e /usr/include/gmp.h ]; then ln -s /usr/include/$debMultiarch/gmp.h /usr/include/gmp.h; fi;\
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 gmp --with-gmp="/usr/include/$debMultiarch"; \
docker-php-ext-configure gd --with-jpeg --with-freetype --with-webp; \
docker-php-ext-configure gmp; \
docker-php-ext-install -j$(nproc) \
intl \
zip \
Expand Down

0 comments on commit febbc10

Please sign in to comment.