Skip to content

Commit cf58749

Browse files
authored
[php] RoadRunner Symfony update to 2025.1 and PHP 8.4 (#10037)
* [php] RoadRunner Symfony update to 2025.1 and PHP 8.4 * Update display_name [ci skip] * Add protobuf extension * Small change to rerun CI * Another small change to rerun CI Failed to build the TFB dockerfile.
1 parent e6cbbdc commit cf58749

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

frameworks/PHP/symfony/benchmark_config.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"webserver": "nginx",
6464
"os": "Linux",
6565
"database_os": "Linux",
66-
"display_name": "symfony-raw",
66+
"display_name": "symfony [raw orm]",
6767
"notes": "",
6868
"versus": "php",
6969
"tags": []
@@ -87,7 +87,7 @@
8787
"webserver": "none",
8888
"os": "Linux",
8989
"database_os": "Linux",
90-
"display_name": "symfony-swoole",
90+
"display_name": "symfony [swoole]",
9191
"notes": "",
9292
"versus": "swoole",
9393
"tags": []
@@ -111,7 +111,7 @@
111111
"webserver": "None",
112112
"os": "Linux",
113113
"database_os": "Linux",
114-
"display_name": "symfony-workerman",
114+
"display_name": "symfony [workerman]",
115115
"notes": "",
116116
"versus": "php",
117117
"tags": []
@@ -135,7 +135,7 @@
135135
"webserver": "None",
136136
"os": "Linux",
137137
"database_os": "Linux",
138-
"display_name": "symfony-roadrunner",
138+
"display_name": "symfony [roadrunner]",
139139
"notes": "",
140140
"versus": "php",
141141
"tags": []
@@ -159,7 +159,7 @@
159159
"webserver": "caddy",
160160
"os": "Linux",
161161
"database_os": "Linux",
162-
"display_name": "symfony-frankenphp",
162+
"display_name": "symfony [frankenphp]",
163163
"notes": "Use php 8.2",
164164
"versus": "php",
165165
"tags": []

frameworks/PHP/symfony/symfony-roadrunner.dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM php:8.3-cli
1+
FROM php:8.4-cli
22

3-
COPY --from=ghcr.io/roadrunner-server/roadrunner:2023.3 --link /usr/bin/rr /usr/local/bin/rr
3+
COPY --from=ghcr.io/roadrunner-server/roadrunner:2025.1 --link /usr/bin/rr /usr/local/bin/rr
44
COPY --from=mlocati/php-extension-installer --link /usr/bin/install-php-extensions /usr/local/bin/
55
COPY --from=composer/composer:latest-bin --link /composer /usr/local/bin/composer
66

@@ -15,11 +15,12 @@ COPY --link deploy/conf/php.ini /usr/local/etc/php/
1515
WORKDIR /symfony
1616
COPY --link . .
1717

18+
RUN pecl install protobuf > /dev/null && echo "extension=protobuf.so" > /usr/local/etc/php/conf.d/protobuf.ini
19+
1820
ENV APP_RUNTIME="Runtime\RoadRunnerSymfonyNyholm\Runtime"
1921
RUN composer require runtime/roadrunner-symfony-nyholm --update-no-dev --no-scripts --quiet
2022
RUN cp deploy/postgresql/.env . && composer dump-env prod && bin/console cache:clear
2123

2224
EXPOSE 8080
2325

24-
RUN rr -v
2526
ENTRYPOINT ["rr", "serve"]

0 commit comments

Comments
 (0)