mirror of https://github.com/friendica/docker
Add multiarch support for ldap lib
This commit is contained in:
parent
687136d26b
commit
3e02375c58
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue