File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -73,8 +73,7 @@ RUN EXTENSION_DIR=`php-config --extension-dir 2>/dev/null` && \
7373 $PHPIZE_DEPS \
7474 ## Install PECL
7575 && wget -q pear.php.net/go-pear.phar && php go-pear.phar \
76- && install-php-extensions pcntl pgsql pdo pdo_pgsql bcmath zip gmp iconv opcache intl sockets \
77- && (install-php-extensions random || true) \
76+ && install-php-extensions pcntl pgsql pdo pdo_pgsql bcmath zip gmp iconv opcache intl sockets random \
7877 && (pecl install eio || pecl install eio-beta) \
7978 && docker-php-ext-enable eio \
8079 && pecl install event \
Original file line number Diff line number Diff line change @@ -77,8 +77,7 @@ RUN EXTENSION_DIR=`php-config --extension-dir 2>/dev/null` && \
7777 $PHPIZE_DEPS \
7878 ## Install PECL
7979 && wget -q pear.php.net/go-pear.phar && php go-pear.phar \
80- && install-php-extensions pcntl pgsql pdo pdo_pgsql bcmath zip gmp iconv opcache intl sockets \
81- && (install-php-extensions random || true) \
80+ && install-php-extensions pcntl pgsql pdo pdo_pgsql bcmath zip gmp iconv opcache intl sockets random \
8281 && pecl install parallel || pecl install parallel-1.1.4 \
8382 && docker-php-ext-enable parallel \
8483 && (pecl install eio || pecl install eio-beta) \
Original file line number Diff line number Diff line change @@ -81,4 +81,4 @@ def test_zip_is_loaded(host):
8181def test_zip_is_loaded (host ):
8282 output = host .run ('php -r "exit(function_exists(\' mt_rand\' ) ? 0 : 255);"' )
8383 assert output .rc == 0
84- # assert 'random' in host.run('php -m').stdout
84+ assert 'random' in host .run ('php -m' ).stdout
You can’t perform that action at this time.
0 commit comments