This commit introduces a comprehensive implementation and refactoring of the container engine module. Key enhancements include the addition of abstract classes and the implementation of container engines. New features: - Developed `DockerEngine` and `PodmanEngine` classes, deriving from `AbstractContainerEngine` to provide modular functionality. - Added a CLI `--container-runtime` option, allowing users to select their preferred runtime, defaulting to Docker if unspecified. - Introduced a `container_runtime` property in `DocMachine::Build::Config` for improved runtime management. Refactoring: - Refactored code to replace hardcoded Docker commands with method calls to `AbstractContainerEngine`, promoting code reuse and abstraction. Signed-off-by: Glenn Y. Rolland <glenux@glenux.net> |
||
---|---|---|
.. | ||
cli.cr | ||
config.cr | ||
module.cr | ||
run.cr |