Engine
Engine copied to clipboard
All-in-one minimal multi-stage Dockerfiles, and GitHub action to buil…
This PR adds:
- Multi-stage Dockerfiles for
centos-stream9,debian11andfedora40which compile & test (with Examples), and package minimal container images for executing ore-engine within a Container, thus avoiding the need for users to install dependencies, compile, etc. manually. - A Github Action workflow to do this for
centos-stream9anddebian11all automatically, creating release-quality minimal container images in theghcr.iocontainer image repository associated with OpenSourceRisk (see https://github.com/nickcmaynard/ore-engine/pkgs/container/ore-engine) - Documentation on usage of the released container images from (2).
- A tweak to the Python examples helper to allow it to search the PATH for
ore, allowing execution of an Example within the container.
Limitations:
- I have not fully tested the build triggers, and it might be helpful to be able to manually run the workflow against a certain Git tag for manual release purposes.
debian11is notdebian12due to the Python-basedExamples/test suite's requirement for the "nose" library. "nose" needs Python 3.9 and debian12 doesn't have that. This area needs some work from a Python-capable person - "nose" appears to be beset with maintenance and IP concerns.