Почему не устанавливается vendor Laravel через docker hub?

Раньше делал так

  • склонировал репозиторий с гитлаб
  • папку вендор ставил так: отсюда https://hub.docker.com/_/composer
  • и запускал эту команду:
docker run --rm --interactive --tty \
      --volume $PWD:/app \
      --user $(id -u):$(id -g) \
      composer i

Cейчас выполнил, пишет:

    Installing dependencies from lock file (including require-dev)
    Verifying lock file contents can be installed on current platform.
    Your lock file does not contain a compatible set of packages. Please run composer update.
    
      Problem 1
        - nette/schema is locked to version v1.2.2 and an update of this package was not requested.
        - nette/schema v1.2.2 requires php >=7.1 <8.2 -> your php version (8.2.3) does not satisfy that requirement.
      Problem 2
        - nette/schema v1.2.2 requires php >=7.1 <8.2 -> your php version (8.2.3) does not satisfy that requirement.
        - league/config v1.1.1 requires nette/schema ^1.2 -> satisfiable by nette/schema[v1.2.2].
        - league/config is locked to version v1.1.1 and an update of this package was not requested.

Так я же не ставлю c помощью composer что на компе, почему он требует версию поменять?


Ответы (0 шт):