Skip to content

Commit

Permalink
misc: php and roadrunner upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
amvid committed Jul 18, 2024
1 parent f55e124 commit 4a1e9c1
Show file tree
Hide file tree
Showing 6 changed files with 191 additions and 191 deletions.
2 changes: 1 addition & 1 deletion .docker/php/dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.3.6-cli-alpine3.18
FROM php:8.3.9-cli-alpine3.20

RUN --mount=type=bind,from=mlocati/php-extension-installer:1.5,source=/usr/bin/install-php-extensions,target=/usr/local/bin/install-php-extensions \
install-php-extensions pdo pdo_mysql zip opcache xsl dom exif intl pcntl bcmath sockets && \
Expand Down
2 changes: 1 addition & 1 deletion .docker/php/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ bin/console assets:install

if [ ! -f "bin/rr" ]; then
echo "RoadRunner binary not found. Downloading..."
vendor/bin/rr get-binary -f v2024.1.4 --location bin
vendor/bin/rr get-binary -f v2024.1.5 --location bin
chmod +x bin/rr
else
echo "RoadRunner binary found. Skipping download."
Expand Down
4 changes: 2 additions & 2 deletions .docker/php/prod.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.3.6-cli-alpine3.18
FROM php:8.3.9-cli-alpine3.20

RUN --mount=type=bind,from=mlocati/php-extension-installer:1.5,source=/usr/bin/install-php-extensions,target=/usr/local/bin/install-php-extensions \
install-php-extensions pdo pdo_mysql zip opcache xsl dom exif intl pcntl bcmath sockets && \
Expand All @@ -18,7 +18,7 @@ RUN composer install --optimize-autoloader --no-dev --prefer-dist \
&& bin/console assets:install \
&& bin/console cache:clear

COPY --from=ghcr.io/roadrunner-server/roadrunner:2024.1.4 /usr/bin/rr ./bin/rr
COPY --from=ghcr.io/roadrunner-server/roadrunner:2024.1.5 /usr/bin/rr ./bin/rr

EXPOSE 80/tcp

Expand Down
2 changes: 1 addition & 1 deletion .docker/php/test.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.3.6-cli-alpine3.18
FROM php:8.3.9-cli-alpine3.20

RUN --mount=type=bind,from=mlocati/php-extension-installer:1.5,source=/usr/bin/install-php-extensions,target=/usr/local/bin/install-php-extensions \
install-php-extensions pdo pdo_mysql opcache zip xsl dom exif intl pcntl bcmath sockets && \
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^8.3.6",
"php": "8.3.9",
"ext-ctype": "*",
"ext-iconv": "*",
"baldinof/roadrunner-bundle": "^3.1",
Expand Down
Loading

0 comments on commit 4a1e9c1

Please sign in to comment.