Struct pulumi_wasm_docker::DockerBuild
source · pub struct DockerBuild {
pub add_hosts: Box<Option<Vec<String>>>,
pub args: Box<Option<HashMap<String, String>>>,
pub builder_version: Box<Option<BuilderVersion>>,
pub cache_from: Box<Option<CacheFrom>>,
pub context: Box<Option<String>>,
pub dockerfile: Box<Option<String>>,
pub network: Box<Option<String>>,
pub platform: Box<Option<String>>,
pub target: Box<Option<String>>,
}
Fields§
§add_hosts: Box<Option<Vec<String>>>
Custom host-to-IP mappings to use while building (format: “host:ip”)
args: Box<Option<HashMap<String, String>>>
An optional map of named build-time argument variables to set during the Docker build. This flag allows you to pass build-time variables that can be accessed like environment variables inside the RUN instruction.
builder_version: Box<Option<BuilderVersion>>
The version of the Docker builder.
cache_from: Box<Option<CacheFrom>>
A list of image names to use as build cache. Images provided must have a cache manifest. Must provide authentication to cache registry.
context: Box<Option<String>>
The path to the build context to use.
dockerfile: Box<Option<String>>
The path to the Dockerfile to use.
network: Box<Option<String>>
Set the networking mode for RUN instructions
platform: Box<Option<String>>
The architecture of the platform you want to build this image for, e.g. linux/arm64
.
target: Box<Option<String>>
The target of the Dockerfile to build
Implementations§
source§impl DockerBuild
impl DockerBuild
sourcepub fn builder() -> DockerBuildBuilder
pub fn builder() -> DockerBuildBuilder
Create an instance of DockerBuild
using the builder syntax
Trait Implementations§
source§impl Debug for DockerBuild
impl Debug for DockerBuild
source§impl<'de> Deserialize<'de> for DockerBuild
impl<'de> Deserialize<'de> for DockerBuild
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DockerBuild
impl RefUnwindSafe for DockerBuild
impl Send for DockerBuild
impl Sync for DockerBuild
impl Unpin for DockerBuild
impl UnwindSafe for DockerBuild
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