From 5bb43c71bdbbce59e0ef62d4907115b778879528 Mon Sep 17 00:00:00 2001 From: Alexander Pankratov Date: Sun, 29 Nov 2020 02:41:03 +0300 Subject: [PATCH] Remove parallel extension from Docker. --- Dockerfile | 5 ++--- README.md | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 41b346c..2f34bca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] diff --git a/README.md b/README.md index eda600c..4e04f57 100644 --- a/README.md +++ b/README.md @@ -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)