From d935fd1a4fc971cb2ab1b3acd61ab9c6fa6337e3 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Tue, 13 Jun 2023 20:41:18 +0200 Subject: [PATCH] Enable uv extension --- tests/dockerfiles/Dockerfile.alpine | 2 +- tests/dockerfiles/php.ini | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/dockerfiles/Dockerfile.alpine b/tests/dockerfiles/Dockerfile.alpine index c58476d94..7ad08482f 100644 --- a/tests/dockerfiles/Dockerfile.alpine +++ b/tests/dockerfiles/Dockerfile.alpine @@ -13,7 +13,7 @@ ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/do RUN apk add --no-cache libuv libuv-dev autoconf automake gcc musl-dev make && chmod +x /usr/local/bin/install-php-extensions && \ curl -L https://github.com/amphp/ext-uv/archive/refs/heads/master.tar.gz | tar -xz && \ - cd ext-uv-master && phpize && ./configure && make -j$(nproc) && cd .. \ + cd ext-uv-master && phpize && ./configure && make -j$(nproc) && make install && cd .. \ rm -r ext-uv-master && apk del libuv-dev autoconf automake gcc musl-dev make && \ install-php-extensions ffi pq memprof intl gmp mbstring pdo_mysql xml dom zip opcache && \ rm /usr/local/bin/install-php-extensions diff --git a/tests/dockerfiles/php.ini b/tests/dockerfiles/php.ini index c5da40ec2..42dbcc8f1 100644 --- a/tests/dockerfiles/php.ini +++ b/tests/dockerfiles/php.ini @@ -3,6 +3,8 @@ zend.assertions = 1 display_errors = On display_startup_errors = On +extension=uv + [opcache] opcache.enable=1 opcache.enable_cli=1