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:
parent
6b46f32583
commit
d935fd1a4f
@ -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
|
||||
|
@ -3,6 +3,8 @@ zend.assertions = 1
|
||||
display_errors = On
|
||||
display_startup_errors = On
|
||||
|
||||
extension=uv
|
||||
|
||||
[opcache]
|
||||
opcache.enable=1
|
||||
opcache.enable_cli=1
|
||||
|
Loading…
Reference in New Issue
Block a user