Skip to content
Merged
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion frameworks/PHP/laravel/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
"symfony/polyfill-php81": "*",
"symfony/polyfill-php82": "*",
"symfony/polyfill-php83": "*",
"symfony/polyfill-php84": "*"
"symfony/polyfill-php84": "*",
"symfony/polyfill-php85": "*"
},
"minimum-stability": "stable",
"prefer-stable": true,
Expand Down
6 changes: 2 additions & 4 deletions frameworks/PHP/laravel/laravel-laravel-s.dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
FROM phpswoole/swoole:php8.4
FROM phpswoole/swoole:php8.5

RUN apt-get -y update > /dev/null \
&& apt-get install -y libicu-dev > /dev/null \
&& docker-php-ext-configure intl > /dev/null \
&& docker-php-ext-install intl > /dev/null

RUN docker-php-ext-install pcntl opcache curl > /dev/null
&& docker-php-ext-install intl pcntl > /dev/null

RUN echo "opcache.enable_cli=1" >> /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini
RUN echo "opcache.jit=1205" >> /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini
Expand Down
4 changes: 2 additions & 2 deletions frameworks/PHP/laravel/laravel-octane-frankenphp.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN install-php-extensions \
zip > /dev/null

COPY --link . /app/
COPY --from=composer --link /usr/bin/composer /usr/local/bin/composer
COPY --from=composer/composer:2-bin --link /composer /usr/local/bin/composer

RUN mkdir -p bootstrap/cache \
storage/logs \
Expand All @@ -20,7 +20,7 @@ RUN mkdir -p bootstrap/cache \

COPY --link deploy/franken/php.ini /usr/local/etc/php

RUN composer require laravel/octane guzzlehttp/guzzle --update-no-dev --no-scripts --quiet
RUN composer require laravel/octane:^2 guzzlehttp/guzzle --update-no-dev --no-scripts --quiet
RUN php artisan optimize

RUN frankenphp -v
Expand Down
2 changes: 1 addition & 1 deletion frameworks/PHP/laravel/laravel-ripple.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RUN echo "opcache.enable_cli=1" >> /usr/local/etc/php/conf.d/docker-php-ext-opca
RUN echo "opcache.jit=1205" >> /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini
RUN echo "opcache.jit_buffer_size=128M" >> /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini

COPY --from=composer --link /usr/bin/composer /usr/local/bin/composer
COPY --from=composer/composer:2-bin --link /composer /usr/local/bin/composer

# Initialize
WORKDIR /laravel
Expand Down
4 changes: 2 additions & 2 deletions frameworks/PHP/laravel/laravel-roadrunner.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ RUN apt-get update > /dev/null && \

RUN pecl install protobuf > /dev/null && echo "extension=protobuf.so" > /usr/local/etc/php/conf.d/protobuf.ini

COPY --from=composer/composer:latest-bin --link /composer /usr/local/bin/composer
COPY --from=composer/composer:2-bin --link /composer /usr/local/bin/composer

RUN composer require laravel/octane --update-no-dev --no-scripts --quiet
RUN composer require laravel/octane:^2 --update-no-dev --no-scripts --quiet
RUN php artisan octane:install --server="roadrunner" > /dev/null
RUN php artisan optimize

Expand Down
8 changes: 4 additions & 4 deletions frameworks/PHP/laravel/laravel-swoole.dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM phpswoole/swoole:php8.4
FROM phpswoole/swoole:php8.5

RUN apt-get update -yqq && apt-get install libicu-dev -y > /dev/null
RUN docker-php-ext-install intl pcntl opcache > /dev/null
RUN apt-get update -yqq && apt-get install libicu-dev -y > /dev/null && \
docker-php-ext-install intl pcntl > /dev/null
RUN echo "opcache.enable_cli=1" >> /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini
RUN echo "opcache.jit=1205" >> /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini
RUN echo "opcache.jit_buffer_size=128M" >> /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini
Expand All @@ -15,7 +15,7 @@ RUN mkdir -p bootstrap/cache \
storage/framework/views \
storage/framework/cache

RUN composer require laravel/octane:2.11 --update-no-dev --no-scripts --quiet
RUN composer require laravel/octane:^2 --update-no-dev --no-scripts --quiet
RUN php artisan octane:install --server="swoole"
RUN php artisan optimize

Expand Down
2 changes: 1 addition & 1 deletion frameworks/PHP/laravel/laravel-workerman.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php > /dev/null && \
apt-get install -yqq git unzip \
php8.5-cli php8.5-mysql php8.5-mbstring php8.5-xml php8.5-intl php8.5-curl > /dev/null

COPY --from=composer --link /usr/bin/composer /usr/local/bin/composer
COPY --from=composer/composer:2-bin --link /composer /usr/local/bin/composer

RUN apt-get install -y php-pear php8.5-dev libevent-dev > /dev/null
RUN pecl install event-3.1.4 > /dev/null && echo "extension=event.so" > /etc/php/8.5/cli/conf.d/event.ini
Expand Down
2 changes: 1 addition & 1 deletion frameworks/PHP/laravel/laravel.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN apt-get install -yqq nginx git unzip \
RUN apt install libjemalloc2
ENV LD_PRELOAD=libjemalloc.so.2

COPY --from=composer --link /usr/bin/composer /usr/local/bin/composer
COPY --from=composer/composer:2-bin --link /composer /usr/local/bin/composer

COPY --link deploy/conf/* /etc/php/8.5/fpm/
WORKDIR /laravel
Expand Down
Loading