mirror of
https://github.com/joomla-docker/docker-joomla.git
synced 2025-01-10 08:34:04 +00:00
Update pecl extenstions and cleanup installer cache (#117)
This commit is contained in:
parent
e0efe693ef
commit
0121991443
@ -52,6 +52,7 @@ RUN set -ex; \
|
|||||||
memcached \
|
memcached \
|
||||||
redis \
|
redis \
|
||||||
; \
|
; \
|
||||||
|
rm -r /tmp/pear; \
|
||||||
\
|
\
|
||||||
runDeps="$( \
|
runDeps="$( \
|
||||||
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
|
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
|
||||||
|
@ -47,6 +47,7 @@ RUN set -ex; \
|
|||||||
memcached \
|
memcached \
|
||||||
redis \
|
redis \
|
||||||
; \
|
; \
|
||||||
|
rm -r /tmp/pear; \
|
||||||
\
|
\
|
||||||
# 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
|
||||||
apt-mark auto '.*' > /dev/null; \
|
apt-mark auto '.*' > /dev/null; \
|
||||||
|
@ -43,13 +43,14 @@ RUN set -ex; \
|
|||||||
# 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.20; \
|
pecl install APCu-5.1.20; \
|
||||||
pecl install memcached-3.1.5; \
|
pecl install memcached-3.1.5; \
|
||||||
pecl install redis-5.3.3; \
|
pecl install redis-5.3.4; \
|
||||||
\
|
\
|
||||||
docker-php-ext-enable \
|
docker-php-ext-enable \
|
||||||
apcu \
|
apcu \
|
||||||
memcached \
|
memcached \
|
||||||
redis \
|
redis \
|
||||||
; \
|
; \
|
||||||
|
rm -r /tmp/pear; \
|
||||||
\
|
\
|
||||||
# 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
|
||||||
apt-mark auto '.*' > /dev/null; \
|
apt-mark auto '.*' > /dev/null; \
|
||||||
|
@ -42,9 +42,9 @@ RUN set -ex; \
|
|||||||
\
|
\
|
||||||
# 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.20; \
|
pecl install APCu-5.1.20; \
|
||||||
pecl install mcrypt-1.0.3; \
|
pecl install mcrypt-1.0.4; \
|
||||||
pecl install memcached-3.1.5; \
|
pecl install memcached-3.1.5; \
|
||||||
pecl install redis-5.3.3; \
|
pecl install redis-5.3.4; \
|
||||||
\
|
\
|
||||||
docker-php-ext-enable \
|
docker-php-ext-enable \
|
||||||
apcu \
|
apcu \
|
||||||
@ -52,6 +52,7 @@ RUN set -ex; \
|
|||||||
memcached \
|
memcached \
|
||||||
redis \
|
redis \
|
||||||
; \
|
; \
|
||||||
|
rm -r /tmp/pear; \
|
||||||
\
|
\
|
||||||
runDeps="$( \
|
runDeps="$( \
|
||||||
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
|
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
|
||||||
|
@ -40,13 +40,14 @@ RUN set -ex; \
|
|||||||
# 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.20; \
|
pecl install APCu-5.1.20; \
|
||||||
pecl install memcached-3.1.5; \
|
pecl install memcached-3.1.5; \
|
||||||
pecl install redis-5.3.3; \
|
pecl install redis-5.3.4; \
|
||||||
\
|
\
|
||||||
docker-php-ext-enable \
|
docker-php-ext-enable \
|
||||||
apcu \
|
apcu \
|
||||||
memcached \
|
memcached \
|
||||||
redis \
|
redis \
|
||||||
; \
|
; \
|
||||||
|
rm -r /tmp/pear; \
|
||||||
\
|
\
|
||||||
# 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
|
||||||
apt-mark auto '.*' > /dev/null; \
|
apt-mark auto '.*' > /dev/null; \
|
||||||
|
@ -43,13 +43,14 @@ RUN set -ex; \
|
|||||||
# 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.20; \
|
pecl install APCu-5.1.20; \
|
||||||
pecl install memcached-3.1.5; \
|
pecl install memcached-3.1.5; \
|
||||||
pecl install redis-5.3.3; \
|
pecl install redis-5.3.4; \
|
||||||
\
|
\
|
||||||
docker-php-ext-enable \
|
docker-php-ext-enable \
|
||||||
apcu \
|
apcu \
|
||||||
memcached \
|
memcached \
|
||||||
redis \
|
redis \
|
||||||
; \
|
; \
|
||||||
|
rm -r /tmp/pear; \
|
||||||
\
|
\
|
||||||
# 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
|
||||||
apt-mark auto '.*' > /dev/null; \
|
apt-mark auto '.*' > /dev/null; \
|
||||||
|
@ -42,9 +42,9 @@ RUN set -ex; \
|
|||||||
\
|
\
|
||||||
# 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.20; \
|
pecl install APCu-5.1.20; \
|
||||||
pecl install mcrypt-1.0.3; \
|
pecl install mcrypt-1.0.4; \
|
||||||
pecl install memcached-3.1.5; \
|
pecl install memcached-3.1.5; \
|
||||||
pecl install redis-5.3.3; \
|
pecl install redis-5.3.4; \
|
||||||
\
|
\
|
||||||
docker-php-ext-enable \
|
docker-php-ext-enable \
|
||||||
apcu \
|
apcu \
|
||||||
@ -52,6 +52,7 @@ RUN set -ex; \
|
|||||||
memcached \
|
memcached \
|
||||||
redis \
|
redis \
|
||||||
; \
|
; \
|
||||||
|
rm -r /tmp/pear; \
|
||||||
\
|
\
|
||||||
runDeps="$( \
|
runDeps="$( \
|
||||||
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
|
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
|
||||||
|
@ -40,13 +40,14 @@ RUN set -ex; \
|
|||||||
# 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.20; \
|
pecl install APCu-5.1.20; \
|
||||||
pecl install memcached-3.1.5; \
|
pecl install memcached-3.1.5; \
|
||||||
pecl install redis-5.3.3; \
|
pecl install redis-5.3.4; \
|
||||||
\
|
\
|
||||||
docker-php-ext-enable \
|
docker-php-ext-enable \
|
||||||
apcu \
|
apcu \
|
||||||
memcached \
|
memcached \
|
||||||
redis \
|
redis \
|
||||||
; \
|
; \
|
||||||
|
rm -r /tmp/pear; \
|
||||||
\
|
\
|
||||||
# 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
|
||||||
apt-mark auto '.*' > /dev/null; \
|
apt-mark auto '.*' > /dev/null; \
|
||||||
|
@ -31,8 +31,8 @@ declare -A variantBases=(
|
|||||||
declare -A pecl_versions=(
|
declare -A pecl_versions=(
|
||||||
[php7-APCu]='5.1.20'
|
[php7-APCu]='5.1.20'
|
||||||
[php7-memcached]='3.1.5'
|
[php7-memcached]='3.1.5'
|
||||||
[php7-redis]='5.3.3'
|
[php7-redis]='5.3.4'
|
||||||
[php7-mcrypt]='1.0.3'
|
[php7-mcrypt]='1.0.4'
|
||||||
)
|
)
|
||||||
|
|
||||||
for phpVersion in "${phpVersions[@]}"; do
|
for phpVersion in "${phpVersions[@]}"; do
|
||||||
|
Loading…
Reference in New Issue
Block a user