This PR improves Debian 13 compatibility in the additional-server validation + Docker installation path.
In some Debian 13 environments, OS detection can rely on ID_LIKE rather than only ID, and Docker repository setup may fail when VERSION_CODENAME is numeric (13) instead of trixie.
app/Models/Server.php
/etc/os-release parsing into testable helpers.ID first, then falls back to ID_LIKE.app/Actions/Server/InstallDocker.php
DOCKER_VERSION_CODENAME=${VERSION_CODENAME:-${VERSION_ID}}13, map to trixieTests
tests/Unit/ServerOsDetectionTest.phptests/Unit/Actions/Server/InstallDockerCommandTest.phpphp artisan test --compact tests/Unit/ServerOsDetectionTest.php
php artisan test --compact tests/Unit/Actions/Server/InstallDockerCommandTest.php
Expected:
ID=debian, VERSION_CODENAME=trixie) resolves to Debian family.ID_LIKE=debian) resolves to Debian family.VERSION_CODENAME=13) is accepted and covered.false.13 -> trixie normalization.Expected:
trixie) when codename is numeric./claim #8154
Emins25
@Emins25
buildingvibes
@buildingvibes
Coolify
@coollabsio