1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 05:58:58 +01:00

Enable uv extension

This commit is contained in:
Daniil Gentili 2023-06-13 20:41:18 +02:00
parent 6b46f32583
commit d935fd1a4f
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -3,6 +3,8 @@ zend.assertions = 1
display_errors = On
display_startup_errors = On
extension=uv
[opcache]
opcache.enable=1
opcache.enable_cli=1