Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies and add Sockets ext #24

Merged
merged 4 commits into from
Oct 7, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"]