Commit graph

12 commits

Author SHA1 Message Date
e59ea9ff44 feat: implement and refactor container engine module
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
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
c0ae494c57 feat: Add support for specifying custom Docker image tag in CLI options 2025-03-27 15:37:04 +01:00
6f316ff78e refactor: move static network functions to a reusable class 2024-06-02 21:13:36 +02:00
1e63606f72 feat: Add support for --no-cache option 2024-02-15 18:56:15 +01:00
9d13f8216f feat: add option for multiple instances
Some checks failed
continuous-integration/drone/push Build is failing
2024-02-14 15:29:36 +01:00
a007211e29 feat: add support for port detection
Some checks failed
continuous-integration/drone/push Build is failing
2024-02-14 14:51:15 +01:00
b588503b79 fix: use the right variable for mkdocs port options
Some checks failed
continuous-integration/drone/push Build is failing
2024-02-14 14:34:29 +01:00
81b845fc66 feat: add support for port selection
Some checks failed
continuous-integration/drone/push Build is failing
Add support for base port selection
- add --port PORT and -p PORT options on command line
- add naive (not implemented) support for port detection
- docs container is now mapped to PORT
- slides container is now mapped to PORT+100
2024-02-14 14:29:41 +01:00
8ae9599d0f fix(build): make image load work 2023-04-27 20:49:00 +02:00
3f985f2751 feat: use Log library instead of puts
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-25 12:28:16 +02:00
a921acc3f9 ci: add missing libreadline-dev
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-24 18:43:04 +02:00
594b5f853a refactor: shorten names & use same structure 2023-04-23 15:59:29 +02:00