pub enum Build {
Own {
context: String,
dockerfile: Option<String>,
target: Option<String>,
args: IndexMap<String, String>,
},
Generated {
dockerfile: String,
base: String,
process: ContainerProcess,
},
}Expand description
A container image the project builds.
Variants§
Own
The project’s own Dockerfile (app.build).
Fields
Generated
A Dockerfile Isoloom generates from the machine’s recipe (super::MachinePlan::recipe),
built with the project folder as its context.
Fields
§
dockerfile: StringWhere the generated Dockerfile is written, from the project folder
(.isoloom/docker/build/<machine>/Dockerfile).
§
process: ContainerProcessWhat the container runs: Isoloom’s runner as its entrypoint for its services, its own command, or nothing (idle).
Trait Implementations§
impl Eq for Build
impl StructuralPartialEq for Build
Auto Trait Implementations§
impl Freeze for Build
impl RefUnwindSafe for Build
impl Send for Build
impl Sync for Build
impl Unpin for Build
impl UnsafeUnpin for Build
impl UnwindSafe for Build
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.