Add multiarch support for ldap lib

This commit is contained in:
Philipp Holzer 2019-11-16 12:28:49 +01:00
parent 687136d26b
commit 3e02375c58
No known key found for this signature in database
GPG Key ID: D8365C3D36B77D90
8 changed files with 31 additions and 22 deletions

View File

@ -36,6 +36,9 @@ RUN set -ex; \
libzip-dev \
libldap2-dev \
; \
\
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
\
docker-php-ext-configure gd \
--with-gd \
--with-freetype-dir=/usr/include/ \
@ -43,8 +46,8 @@ RUN set -ex; \
--with-jpeg-dir=/usr/include/ \
; \
docker-php-ext-configure ldap \
--with-libdir=lib/x86_64-linux-gnu/ \
; \
--with-libdir=lib/$debMultiarch/ \
; \
docker-php-ext-install -j "$(nproc)" \
pdo_mysql \
gd \

View File

@ -28,7 +28,8 @@ RUN set -ex; \
librsvg \
pcre-dev \
libzip-dev \
libldap2-dev \
icu-dev \
openldap-dev \
; \
\
docker-php-ext-configure gd \
@ -38,9 +39,6 @@ RUN set -ex; \
--with-jpeg-dir=/usr/include/ \
; \
\
docker-php-ext-configure ldap \
--with-libdir=lib/x86_64-linux-gnu/ \
; \
docker-php-ext-install -j "$(nproc)" \
pdo_mysql \
gd \

View File

@ -36,6 +36,9 @@ RUN set -ex; \
libzip-dev \
libldap2-dev \
; \
\
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
\
docker-php-ext-configure gd \
--with-gd \
--with-freetype-dir=/usr/include/ \
@ -43,8 +46,8 @@ RUN set -ex; \
--with-jpeg-dir=/usr/include/ \
; \
docker-php-ext-configure ldap \
--with-libdir=lib/x86_64-linux-gnu/ \
; \
--with-libdir=lib/$debMultiarch/ \
; \
docker-php-ext-install -j "$(nproc)" \
pdo_mysql \
gd \

View File

@ -36,6 +36,9 @@ RUN set -ex; \
libzip-dev \
libldap2-dev \
; \
\
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
\
docker-php-ext-configure gd \
--with-gd \
--with-freetype-dir=/usr/include/ \
@ -43,8 +46,8 @@ RUN set -ex; \
--with-jpeg-dir=/usr/include/ \
; \
docker-php-ext-configure ldap \
--with-libdir=lib/x86_64-linux-gnu/ \
; \
--with-libdir=lib/$debMultiarch/ \
; \
docker-php-ext-install -j "$(nproc)" \
pdo_mysql \
gd \

View File

@ -28,7 +28,8 @@ RUN set -ex; \
librsvg \
pcre-dev \
libzip-dev \
libldap2-dev \
icu-dev \
openldap-dev \
; \
\
docker-php-ext-configure gd \
@ -38,9 +39,6 @@ RUN set -ex; \
--with-jpeg-dir=/usr/include/ \
; \
\
docker-php-ext-configure ldap \
--with-libdir=lib/x86_64-linux-gnu/ \
; \
docker-php-ext-install -j "$(nproc)" \
pdo_mysql \
gd \

View File

@ -36,6 +36,9 @@ RUN set -ex; \
libzip-dev \
libldap2-dev \
; \
\
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
\
docker-php-ext-configure gd \
--with-gd \
--with-freetype-dir=/usr/include/ \
@ -43,8 +46,8 @@ RUN set -ex; \
--with-jpeg-dir=/usr/include/ \
; \
docker-php-ext-configure ldap \
--with-libdir=lib/x86_64-linux-gnu/ \
; \
--with-libdir=lib/$debMultiarch/ \
; \
docker-php-ext-install -j "$(nproc)" \
pdo_mysql \
gd \

View File

@ -27,7 +27,8 @@ RUN set -ex; \
librsvg \
pcre-dev \
libzip-dev \
libldap2-dev \
icu-dev \
openldap-dev \
; \
\
docker-php-ext-configure gd \
@ -37,9 +38,6 @@ RUN set -ex; \
--with-jpeg-dir=/usr/include/ \
; \
\
docker-php-ext-configure ldap \
--with-libdir=lib/x86_64-linux-gnu/ \
; \
docker-php-ext-install -j "$(nproc)" \
pdo_mysql \
gd \

View File

@ -35,6 +35,9 @@ RUN set -ex; \
libzip-dev \
libldap2-dev \
; \
\
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
\
docker-php-ext-configure gd \
--with-gd \
--with-freetype-dir=/usr/include/ \
@ -42,8 +45,8 @@ RUN set -ex; \
--with-jpeg-dir=/usr/include/ \
; \
docker-php-ext-configure ldap \
--with-libdir=lib/x86_64-linux-gnu/ \
; \
--with-libdir=lib/$debMultiarch/ \
; \
docker-php-ext-install -j "$(nproc)" \
pdo_mysql \
gd \