anton-rs / op-up

Composable OP Stack Orchestration
https://stack.anton.systems
MIT License
41 stars 2 forks source link

feat(docker): Docker Feature Flag #53

Open refcell opened 1 year ago

refcell commented 1 year ago

Description

Creating this issue as a placeholder - it may be useful/necessary to put all docker-dependent code behind a docker feature flag.

Thinking: the op-composer internally has a Docker bollard reference that we may not want to "leak" to the stages crate unless the docker flag is enabled (could be by default unless necessary).

Effectively, a good start would be to add a docker feature flag to the stages crate and hide all docker-dependent code in the crate behind this flag.