Skip to content

Docker: use the Ubuntu-provided pyqt5

Colin Macdonald requested to merge docker_with_system_pyqt into main

Testing using apt get install python3-pyqt5 in Ubuntu instead of pip to get PyQt5 in our plomgrading/server container.

Notes

  • Server doesn't really care about PyQt5: it shouldn't have any GUI dependencies at all.
  • We no longer use the Docker image to build our GNU/Linux binaries.
  • @rastacalavera tested a Dockerfile something like this to successfully build the container image on ARM in #1551.
    • we should have an official ARM container, #1552, so this seems like a good first step

effect on container images size

Before this change, the Gitlab.com container registry says our image is about 577MiB. After this change its 558 MiB. This is bit strange to me because apt pulls in A LOT of other packages. It suggests further reductions are possible.

Changelog entry

  • This change does not need a changelog entry.
Edited by Colin Macdonald

Merge request reports