edbizarro / gitlab-ci-pipeline-php

:coffee: Docker images for test PHP applications with Gitlab CI (or any other CI platform!)
https://hub.docker.com/r/edbizarro/gitlab-ci-pipeline-php
MIT License
528 stars 166 forks source link

PHP 8.0 image is outdated #128

Open Synchro opened 2 years ago

Synchro commented 2 years ago

I can see that you're using the official PHP 8.0 images, but I'm running into problems with this being outdated. It appears to install PHP 8.0.1, which means that it won't work with current Symfony components (that require at least 8.0.2), resulting in CI failures like this:

Your requirements could not be resolved to an installable set of packages.
Problem 1
  - Installation request for symfony/event-dispatcher v6.0.0 -> satisfiable by symfony/event-dispatcher[v6.0.0].
  - symfony/event-dispatcher v6.0.0 requires php >=8.0.2 -> your PHP version (8.0.1) does not satisfy that requirement.

The image this refers to on dockerhub appears to be up to date, so I guess this might be a caching issue in GitLab.

WilliamDEdwards commented 2 years ago

Just tested. It doesn't seem to be a caching issue.

jeversen commented 2 years ago

Same problem here when trying to build a laravel project. It seems a laravel update bumped some symfony packages to the recently released 6.0.

Your requirements could not be resolved to an installable set of packages. Problem 1

Synchro commented 2 years ago

I asked about this on Twitter and got some very good replies.

skalero01 commented 2 years ago

I asked about this on Twitter and got some very good replies.

Thanks! Just using the lorisleiva/laravel-docker repository, excellent :D

a-bashtannik commented 2 years ago

Confirm, just use https://github.com/lorisleiva/laravel-docker