mirror of
https://github.com/danog/TelegramApiServer.git
synced 2024-11-26 20:04:45 +01:00
Feat: Add PrimeModule lib in Docker to assist key generation
This commit is contained in:
parent
76a1c8bd99
commit
394b66c434
@ -11,6 +11,12 @@ RUN apt-get update && apt-get upgrade -y \
|
|||||||
&& mkdir -p /usr/src/php/ext/ && cd /usr/src/php/ext/ \
|
&& mkdir -p /usr/src/php/ext/ && cd /usr/src/php/ext/ \
|
||||||
&& pecl bundle ev \
|
&& pecl bundle ev \
|
||||||
&& docker-php-ext-install -j$(nproc) ev \
|
&& docker-php-ext-install -j$(nproc) ev \
|
||||||
|
# Install PrimeModule for AuthKey generation speedup
|
||||||
|
&& git clone https://github.com/danog/PrimeModule-ext \
|
||||||
|
&& cd PrimeModule-ext && make -j$(nproc) \
|
||||||
|
&& make install \
|
||||||
|
&& cd ../ \
|
||||||
|
&& rm -rf PrimeModule-ext/ \
|
||||||
# Install composer
|
# Install composer
|
||||||
&& chmod +x /usr/local/bin/docker-compose-wait \
|
&& chmod +x /usr/local/bin/docker-compose-wait \
|
||||||
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||||
|
Loading…
Reference in New Issue
Block a user