File tree Expand file tree Collapse file tree 6 files changed +6
-10
lines changed Expand file tree Collapse file tree 6 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ jobs:
152152 with :
153153 timeout_minutes : 120
154154 retry_wait_seconds : 30
155- max_attempts : 5
155+ max_attempts : 13
156156 command : (echo "${{ needs.supported-arch-matrix.outputs.arch }}" | jq -r '.[]') | xargs -I % ./build-php.sh $(echo "${{ matrix.image }}" | tr '-' ' ') %
157157 - run : cat ./docker-image/image.tags | xargs -I % docker inspect --format='%={{.Id}}:{{index .Config.Env 7}}' %
158158 - run : docker save "${DOCKER_IMAGE}" | gzip -9 > ./docker-image/image.tar
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 @@ -71,8 +71,7 @@ RUN EXTENSION_DIR=`php-config --extension-dir 2>/dev/null` && \
7171 wget \
7272 gdb \
7373 $PHPIZE_DEPS \
74- && docker-php-ext-install -j$(nproc) pcntl pgsql pdo pdo_pgsql bcmath zip gmp iconv intl sockets \
75- && (docker-php-ext-install -j$(nproc) random || true) \
74+ && docker-php-ext-install -j$(nproc) pcntl pgsql pdo pdo_pgsql bcmath zip gmp iconv intl sockets random \
7675 && (pecl install eio || pecl install eio-beta) \
7776 && docker-php-ext-enable eio \
7877 && 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 @@ -72,8 +72,7 @@ RUN EXTENSION_DIR=`php-config --extension-dir 2>/dev/null` && \
7272 wget \
7373 gdb \
7474 $PHPIZE_DEPS \
75- && docker-php-ext-install -j$(nproc) pcntl pgsql pdo pdo_pgsql bcmath zip gmp iconv intl sockets \
76- && (docker-php-ext-install -j$(nproc) random || true) \
75+ && docker-php-ext-install -j$(nproc) pcntl pgsql pdo pdo_pgsql bcmath zip gmp iconv intl sockets random \
7776 && pecl install parallel || pecl install parallel-1.1.4 \
7877 && docker-php-ext-enable parallel \
7978 && (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