Problem installing the latest version of shopware 6.5

Hey all,

I am trying to install shopware 6.5 from scratch for development. i am running exactly what in the installation tutorial
https://academy.shopware.com/courses/take/shopware-6-developer-training-english/lessons/9225159-installing-shopware-6

every thing is default, trunk branch in development and trunk branch platform.
after running ./psh.phar install in the docker container i am having this issue

  Problem 1
    - Root composer.json requires shopware/platform 6.4.x@dev || dev-trunk -> satisfiable by shopware/platform[dev-trunk].
    - shopware/platform dev-trunk requires php ~8.1.0 || ~8.2.0 -> your php version (7.4.3; overridden via config.platform, actual: 7.4.33) does not satisfy that requirement.

one thing i have noticed is that php version is defined as ARG IMAGE_PHP_VERSION=7.4 in docker file , i have tried to change it back and forth but the problem stays the same.

any idea that can help me ?

It is the wrong PHP version, you need at least 8.1. Not sure which Docker setup you are using, but if you get the latest PHP version running, you should be able to install Shopware.