To make sure we have reliable and repeatable builds, the Dockerfile
now uses "ubuntu:noble" instead of "ubuntu:latest" to have a fixed,
known recipe for containerized builds.
Signed-off-by: Ed Beroset <beroset@ieee.org>
This updates to the latest ubuntu image. It also removes
the deprecated "python3-distutils" and adds "python3-packaging" and
"file" to the list of installed dependencies. This fixes#299 in which
libmce-glib would fail to compile with a Python error
"ModuleNotFoundError: No module named 'packaging'"
Signed-off-by: Ed Beroset <beroset@ieee.org>
This commit merges 'apt' commands and cleanup into one Docker layer. This is crucial because cleanup within the same layer it's created is effective, unlike in separate layers. This change improves Docker image efficiency by reducing the overall size.
Ubuntu Disco is no longer supported and it's software repositories are
no longer available. Bionic will still be supported until April 2023.
Also changed python2 to python, as Ubuntu Bionic doesn't have a package
names python2