Remove parallel extension from Docker.

This commit is contained in:
Alexander Pankratov 2020-11-29 02:41:03 +03:00
parent d1d3e1132b
commit 5bb43c71bd
2 changed files with 3 additions and 4 deletions

View File

@ -11,9 +11,8 @@ RUN apt-get update && apt-get upgrade -y \
&& mkdir -p /usr/src/php/ext/ && cd /usr/src/php/ext/ \
&& pecl bundle event \
&& pecl bundle ev \
&& pecl bundle parallel \
&& docker-php-ext-configure event --with-event-core --with-event-extra --with-event-pthreads \
&& docker-php-ext-install -j$(nproc) ev event parallel \
&& docker-php-ext-install -j$(nproc) ev event \
# Install composer
&& chmod +x /usr/local/bin/docker-compose-wait \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
@ -26,7 +25,7 @@ COPY . /app
WORKDIR /app
RUN cp -a docker/php/conf.d/. "$PHP_INI_DIR/conf.d/" \
&& composer install --no-dev \
&& composer install --no-dev --ignore-platform-reqs \
&& composer clear
VOLUME ["/app/sessions"]

View File

@ -30,7 +30,7 @@ Fast, simple, async php telegram api server:
### Manual:
1. Requirements:
* ssh / cli
* php 7.4
* php 7.4 or php 8
* composer
* git
* Mysql/MariaDB (optional)