Agent is responsible for building packages. It contains 2 executables:
exe/omnipackage- stand-alone usage without any connection to OmniPackage webexe/omnipackage-agent- to be used as a deamon connected to OmniPackage web server
Use repositories provided by OmniPackage itself:
https://web.omnipackage.org/oleg/omnipackage-agent
Or just clone this repo and run exe/omnipackage or exe/omnipackage-agent directly. Ruby 3.0 or higher required.
Not recommended especially in production since it requires --privileged flag to run containers inside.
To build an image run:
docker build -t omnipackage-agent .
Use it to build a project:
docker run --rm -it --privileged --cgroupns=host -v /tmp/build/:/tmp -v /path/to/project:/project omnipackage-agent omnipackage build /project
Change /tmp/build/ to your desired host build directory, and /path/to/project to where the target project is located.
Refer to docs.omnipackage.org