1
0
Fork 0

build: align php docker runtime

This commit is contained in:
thibaud-leclere 2026-05-05 09:49:04 +02:00
parent ba8af52b7c
commit c90bac1740
4 changed files with 22 additions and 17 deletions

View file

@ -47,6 +47,9 @@
"symfony/flex": true,
"symfony/runtime": true
},
"platform": {
"php": "8.3.30"
},
"sort-packages": true
},
"scripts": {

28
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "6beed8f1ac153d1adfa179bbb64a92ea",
"content-hash": "f08f8e138183852b122a328a791b64f8",
"packages": [
{
"name": "doctrine/collections",
@ -635,29 +635,30 @@
},
{
"name": "doctrine/instantiator",
"version": "2.1.0",
"version": "2.0.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/instantiator.git",
"reference": "23da848e1a2308728fe5fdddabf4be17ff9720c7"
"reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/instantiator/zipball/23da848e1a2308728fe5fdddabf4be17ff9720c7",
"reference": "23da848e1a2308728fe5fdddabf4be17ff9720c7",
"url": "https://api.github.com/repos/doctrine/instantiator/zipball/c6222283fa3f4ac679f8b9ced9a4e23f163e80d0",
"reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0",
"shasum": ""
},
"require": {
"php": "^8.4"
"php": "^8.1"
},
"require-dev": {
"doctrine/coding-standard": "^14",
"doctrine/coding-standard": "^11",
"ext-pdo": "*",
"ext-phar": "*",
"phpbench/phpbench": "^1.2",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-phpunit": "^2.0",
"phpunit/phpunit": "^10.5.58"
"phpstan/phpstan": "^1.9.4",
"phpstan/phpstan-phpunit": "^1.3",
"phpunit/phpunit": "^9.5.27",
"vimeo/psalm": "^5.4"
},
"type": "library",
"autoload": {
@ -684,7 +685,7 @@
],
"support": {
"issues": "https://github.com/doctrine/instantiator/issues",
"source": "https://github.com/doctrine/instantiator/tree/2.1.0"
"source": "https://github.com/doctrine/instantiator/tree/2.0.0"
},
"funding": [
{
@ -700,7 +701,7 @@
"type": "tidelift"
}
],
"time": "2026-01-05T06:47:08+00:00"
"time": "2022-12-30T00:23:10+00:00"
},
{
"name": "doctrine/lexer",
@ -7897,5 +7898,8 @@
"ext-iconv": "*"
},
"platform-dev": {},
"platform-overrides": {
"php": "8.3.30"
},
"plugin-api-version": "2.6.0"
}

View file

@ -1,12 +1,13 @@
FROM php:8.3-fpm-alpine AS app
RUN apk add --no-cache bash git oniguruma-dev sqlite-dev unzip \
&& docker-php-ext-install mbstring opcache pdo pdo_sqlite
RUN apk add --no-cache bash git unzip
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
WORKDIR /app
ENV APP_ENV=prod APP_DEBUG=0
COPY composer.json composer.lock ./
RUN composer install --no-dev --prefer-dist --no-interaction --no-progress --no-scripts

View file

@ -2,6 +2,3 @@ date.timezone=UTC
memory_limit=256M
upload_max_filesize=2M
post_max_size=2M
opcache.enable=1
opcache.enable_cli=0
opcache.validate_timestamps=0