Skip to content

Commit

Permalink
Update dependencies and add Sockets ext (#24)
Browse files Browse the repository at this point in the history
* Update dependencies

* Add sockets

* Revert to 7.4
  • Loading branch information
Nyholm authored Oct 7, 2021
1 parent e2265c6 commit de99f2a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit de99f2a

Please sign in to comment.