From de99f2ac69f1ba2df2b05147b7c4fd9eee9d386e Mon Sep 17 00:00:00 2001 From: Tobias Nyholm Date: Thu, 7 Oct 2021 14:04:34 -0700 Subject: [PATCH] Update dependencies and add Sockets ext (#24) * Update dependencies * Add sockets * Revert to 7.4 --- base/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/base/Dockerfile b/base/Dockerfile index 36483f9..248c67a 100644 --- a/base/Dockerfile +++ b/base/Dockerfile @@ -8,17 +8,17 @@ ENV PATH /composer/vendor/bin:$PATH RUN set -e && \ apk add --no-cache --update --progress git icu gmp && \ apk add --no-cache --update --progress --virtual build-deps icu-dev gmp-dev && \ - docker-php-ext-install -j$(nproc) pcntl intl bcmath gmp && \ + docker-php-ext-install -j$(nproc) pcntl intl bcmath gmp sockets && \ echo "memory_limit=-1" > $PHP_INI_DIR/conf.d/99_memory-limit.ini && \ apk del build-deps && \ rm -rf /var/cache/apk/* /var/tmp/* /tmp/* -COPY --from=composer:2.0 /usr/bin/composer /usr/local/bin/composer +COPY --from=composer:2 /usr/bin/composer /usr/local/bin/composer VOLUME ["/app"] WORKDIR /app -RUN composer global require "symfony/process:^4.4|^5.1" "symfony/yaml:^4.4|^5.1" --no-update +RUN composer global require "symfony/process:^4.4|^5.1|^6.0" "symfony/yaml:^4.4|^5.1|^6.0" --no-update ADD config-support.php /composer/vendor/bin/roave-bc-with-config-support ENTRYPOINT ["roave-bc-with-config-support"]