34
3
mirror of https://github.com/joomla-docker/docker-joomla.git synced 2024-11-11 07:41:02 +00:00

add GMP and MCrypt to builds

This commit is contained in:
Phil E. Taylor 2020-06-30 12:37:20 +01:00
parent f57eb977eb
commit d8d636736e
No known key found for this signature in database
GPG Key ID: 8B4DAA1CAC85C9FF
9 changed files with 45 additions and 0 deletions

View File

@ -20,6 +20,8 @@ RUN set -ex; \
libmemcached-dev \ libmemcached-dev \
libpng-dev \ libpng-dev \
libpq-dev \ libpq-dev \
libgmp-dev \
libmcrypt-dev \
; \ ; \
\ \
docker-php-ext-configure gd --with-jpeg-dir=/usr --with-png-dir=/usr; \ docker-php-ext-configure gd --with-jpeg-dir=/usr --with-png-dir=/usr; \
@ -34,17 +36,20 @@ RUN set -ex; \
pdo_pgsql \ pdo_pgsql \
pgsql \ pgsql \
zip \ zip \
gmp \
; \ ; \
\ \
# pecl will claim success even if one install fails, so we need to perform each install separately # pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.18; \ pecl install APCu-5.1.18; \
pecl install memcached-3.1.5; \ pecl install memcached-3.1.5; \
pecl install redis-4.3.0; \ pecl install redis-4.3.0; \
pecl install mcrypt-1.0.3; \
\ \
docker-php-ext-enable \ docker-php-ext-enable \
apcu \ apcu \
memcached \ memcached \
redis \ redis \
mcrypt \
; \ ; \
\ \
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies # reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies

View File

@ -21,6 +21,8 @@ RUN set -ex; \
openldap-dev \ openldap-dev \
pcre-dev \ pcre-dev \
postgresql-dev \ postgresql-dev \
libgmp-dev \
libmcrypt-dev \
; \ ; \
\ \
docker-php-ext-configure gd --with-jpeg-dir=/usr --with-png-dir=/usr; \ docker-php-ext-configure gd --with-jpeg-dir=/usr --with-png-dir=/usr; \
@ -34,17 +36,20 @@ RUN set -ex; \
pdo_pgsql \ pdo_pgsql \
pgsql \ pgsql \
zip \ zip \
gmp \
; \ ; \
\ \
# pecl will claim success even if one install fails, so we need to perform each install separately # pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.18; \ pecl install APCu-5.1.18; \
pecl install memcached-3.1.5; \ pecl install memcached-3.1.5; \
pecl install redis-4.3.0; \ pecl install redis-4.3.0; \
pecl install mcrypt-1.0.3; \
\ \
docker-php-ext-enable \ docker-php-ext-enable \
apcu \ apcu \
memcached \ memcached \
redis \ redis \
mcrypt \
; \ ; \
\ \
runDeps="$( \ runDeps="$( \

View File

@ -17,6 +17,8 @@ RUN set -ex; \
libmemcached-dev \ libmemcached-dev \
libpng-dev \ libpng-dev \
libpq-dev \ libpq-dev \
libgmp-dev \
libmcrypt-dev \
; \ ; \
\ \
docker-php-ext-configure gd --with-jpeg-dir=/usr --with-png-dir=/usr; \ docker-php-ext-configure gd --with-jpeg-dir=/usr --with-png-dir=/usr; \
@ -31,17 +33,20 @@ RUN set -ex; \
pdo_pgsql \ pdo_pgsql \
pgsql \ pgsql \
zip \ zip \
gmp \
; \ ; \
\ \
# pecl will claim success even if one install fails, so we need to perform each install separately # pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.18; \ pecl install APCu-5.1.18; \
pecl install memcached-3.1.5; \ pecl install memcached-3.1.5; \
pecl install redis-4.3.0; \ pecl install redis-4.3.0; \
pecl install mcrypt-1.0.3; \
\ \
docker-php-ext-enable \ docker-php-ext-enable \
apcu \ apcu \
memcached \ memcached \
redis \ redis \
mcrypt \
; \ ; \
\ \
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies # reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies

View File

@ -21,6 +21,8 @@ RUN set -ex; \
libpng-dev \ libpng-dev \
libpq-dev \ libpq-dev \
libzip-dev \ libzip-dev \
libgmp-dev \
libmcrypt-dev \
; \ ; \
\ \
docker-php-ext-configure gd --with-jpeg-dir=/usr --with-png-dir=/usr; \ docker-php-ext-configure gd --with-jpeg-dir=/usr --with-png-dir=/usr; \
@ -35,17 +37,20 @@ RUN set -ex; \
pdo_pgsql \ pdo_pgsql \
pgsql \ pgsql \
zip \ zip \
gmp \
; \ ; \
\ \
# pecl will claim success even if one install fails, so we need to perform each install separately # pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.18; \ pecl install APCu-5.1.18; \
pecl install memcached-3.1.5; \ pecl install memcached-3.1.5; \
pecl install redis-4.3.0; \ pecl install redis-4.3.0; \
pecl install mcrypt-1.0.3; \
\ \
docker-php-ext-enable \ docker-php-ext-enable \
apcu \ apcu \
memcached \ memcached \
redis \ redis \
mcrypt \
; \ ; \
\ \
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies # reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies

View File

@ -22,6 +22,8 @@ RUN set -ex; \
openldap-dev \ openldap-dev \
pcre-dev \ pcre-dev \
postgresql-dev \ postgresql-dev \
libgmp-dev \
libmcrypt-dev \
; \ ; \
\ \
docker-php-ext-configure gd --with-jpeg-dir=/usr --with-png-dir=/usr; \ docker-php-ext-configure gd --with-jpeg-dir=/usr --with-png-dir=/usr; \
@ -35,17 +37,20 @@ RUN set -ex; \
pdo_pgsql \ pdo_pgsql \
pgsql \ pgsql \
zip \ zip \
gmp \
; \ ; \
\ \
# pecl will claim success even if one install fails, so we need to perform each install separately # pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.18; \ pecl install APCu-5.1.18; \
pecl install memcached-3.1.5; \ pecl install memcached-3.1.5; \
pecl install redis-4.3.0; \ pecl install redis-4.3.0; \
pecl install mcrypt-1.0.3; \
\ \
docker-php-ext-enable \ docker-php-ext-enable \
apcu \ apcu \
memcached \ memcached \
redis \ redis \
mcrypt \
; \ ; \
\ \
runDeps="$( \ runDeps="$( \

View File

@ -18,6 +18,8 @@ RUN set -ex; \
libpng-dev \ libpng-dev \
libpq-dev \ libpq-dev \
libzip-dev \ libzip-dev \
libgmp-dev \
libmcrypt-dev \
; \ ; \
\ \
docker-php-ext-configure gd --with-jpeg-dir=/usr --with-png-dir=/usr; \ docker-php-ext-configure gd --with-jpeg-dir=/usr --with-png-dir=/usr; \
@ -32,17 +34,20 @@ RUN set -ex; \
pdo_pgsql \ pdo_pgsql \
pgsql \ pgsql \
zip \ zip \
gmp \
; \ ; \
\ \
# pecl will claim success even if one install fails, so we need to perform each install separately # pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.18; \ pecl install APCu-5.1.18; \
pecl install memcached-3.1.5; \ pecl install memcached-3.1.5; \
pecl install redis-4.3.0; \ pecl install redis-4.3.0; \
pecl install mcrypt-1.0.3; \
\ \
docker-php-ext-enable \ docker-php-ext-enable \
apcu \ apcu \
memcached \ memcached \
redis \ redis \
mcrypt \
; \ ; \
\ \
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies # reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies

View File

@ -21,6 +21,8 @@ RUN set -ex; \
libpng-dev \ libpng-dev \
libpq-dev \ libpq-dev \
libzip-dev \ libzip-dev \
libgmp-dev \
libmcrypt-dev \
; \ ; \
\ \
docker-php-ext-configure gd --with-jpeg; \ docker-php-ext-configure gd --with-jpeg; \
@ -35,17 +37,20 @@ RUN set -ex; \
pdo_pgsql \ pdo_pgsql \
pgsql \ pgsql \
zip \ zip \
gmp \
; \ ; \
\ \
# pecl will claim success even if one install fails, so we need to perform each install separately # pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.18; \ pecl install APCu-5.1.18; \
pecl install memcached-3.1.5; \ pecl install memcached-3.1.5; \
pecl install redis-4.3.0; \ pecl install redis-4.3.0; \
pecl install mcrypt-1.0.3; \
\ \
docker-php-ext-enable \ docker-php-ext-enable \
apcu \ apcu \
memcached \ memcached \
redis \ redis \
mcrypt \
; \ ; \
\ \
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies # reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies

View File

@ -22,6 +22,8 @@ RUN set -ex; \
openldap-dev \ openldap-dev \
pcre-dev \ pcre-dev \
postgresql-dev \ postgresql-dev \
libgmp-dev \
libmcrypt-dev \
; \ ; \
\ \
docker-php-ext-configure gd --with-jpeg; \ docker-php-ext-configure gd --with-jpeg; \
@ -35,17 +37,20 @@ RUN set -ex; \
pdo_pgsql \ pdo_pgsql \
pgsql \ pgsql \
zip \ zip \
gmp \
; \ ; \
\ \
# pecl will claim success even if one install fails, so we need to perform each install separately # pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.18; \ pecl install APCu-5.1.18; \
pecl install memcached-3.1.5; \ pecl install memcached-3.1.5; \
pecl install redis-4.3.0; \ pecl install redis-4.3.0; \
pecl install mcrypt-1.0.3; \
\ \
docker-php-ext-enable \ docker-php-ext-enable \
apcu \ apcu \
memcached \ memcached \
redis \ redis \
mcrypt \
; \ ; \
\ \
runDeps="$( \ runDeps="$( \

View File

@ -18,6 +18,8 @@ RUN set -ex; \
libpng-dev \ libpng-dev \
libpq-dev \ libpq-dev \
libzip-dev \ libzip-dev \
libgmp-dev \
libmcrypt-dev \
; \ ; \
\ \
docker-php-ext-configure gd --with-jpeg; \ docker-php-ext-configure gd --with-jpeg; \
@ -32,17 +34,20 @@ RUN set -ex; \
pdo_pgsql \ pdo_pgsql \
pgsql \ pgsql \
zip \ zip \
gmp \
; \ ; \
\ \
# pecl will claim success even if one install fails, so we need to perform each install separately # pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.18; \ pecl install APCu-5.1.18; \
pecl install memcached-3.1.5; \ pecl install memcached-3.1.5; \
pecl install redis-4.3.0; \ pecl install redis-4.3.0; \
pecl install mcrypt-1.0.3; \
\ \
docker-php-ext-enable \ docker-php-ext-enable \
apcu \ apcu \
memcached \ memcached \
redis \ redis \
mcrypt \
; \ ; \
\ \
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies # reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies