docmachine-cli/src/build
Glenn Y. Rolland e59ea9ff44
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
feat: implement and refactor container engine module
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>
2025-03-27 15:37:04 +01:00
..
cli.cr feat: implement and refactor container engine module 2025-03-27 15:37:04 +01:00
config.cr feat: implement and refactor container engine module 2025-03-27 15:37:04 +01:00
module.cr feat: use Log library instead of puts 2023-04-25 12:28:16 +02:00
run.cr feat: implement and refactor container engine module 2025-03-27 15:37:04 +01:00