pkiraly / qa-catalogue

QA catalogue – a metadata quality assessment tool for library catalogue records (MARC, PICA)
GNU General Public License v3.0
78 stars 17 forks source link

Docker build is broken #488

Closed nichtich closed 3 months ago

nichtich commented 3 months ago

See https://github.com/pkiraly/qa-catalogue/actions/workflows/docker.yml

pkiraly commented 3 months ago

The problem seems to be with the composer based installation of phpstan at the qa-catalogue-web:

- Installation request for phpstan/extension-installer 1.3.1 -> satisfiable by phpstan/extension-installer[1.3.1].
- phpstan/extension-installer 1.3.1 requires composer-plugin-api ^2.0 -> no matching package found.
nichtich commented 3 months ago

Looks like composer needs to be a newer version. Dependencies are such a beast!

pkiraly commented 3 months ago

I updated the base image from ubuntu:20.04 to ubuntu:22.04. It solved the issue, and it means that the Docker uses PHP 8.x, instead of 7.x.