pub struct DirectoryDockerBuildOpts<'a> {
pub build_args: Option<Vec<BuildArg>>,
pub dockerfile: Option<&'a str>,
pub no_init: Option<bool>,
pub platform: Option<Platform>,
pub secrets: Option<Vec<SecretId>>,
pub target: Option<&'a str>,
}
Fields§
§build_args: Option<Vec<BuildArg>>
Build arguments to use in the build.
dockerfile: Option<&'a str>
Path to the Dockerfile to use (e.g., “frontend.Dockerfile”).
no_init: Option<bool>
If set, skip the automatic init process injected into containers created by RUN statements. This should only be used if the user requires that their exec processes be the pid 1 process in the container. Otherwise it may result in unexpected behavior.
platform: Option<Platform>
The platform to build.
secrets: Option<Vec<SecretId>>
Secrets to pass to the build. They will be mounted at /run/secrets/[secret-name].
target: Option<&'a str>
Target build stage to build.
Trait Implementations§
Source§impl<'a> Debug for DirectoryDockerBuildOpts<'a>
impl<'a> Debug for DirectoryDockerBuildOpts<'a>
Source§impl<'a> PartialEq for DirectoryDockerBuildOpts<'a>
impl<'a> PartialEq for DirectoryDockerBuildOpts<'a>
Source§fn eq(&self, other: &DirectoryDockerBuildOpts<'a>) -> bool
fn eq(&self, other: &DirectoryDockerBuildOpts<'a>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl<'a> StructuralPartialEq for DirectoryDockerBuildOpts<'a>
Auto Trait Implementations§
impl<'a> Freeze for DirectoryDockerBuildOpts<'a>
impl<'a> RefUnwindSafe for DirectoryDockerBuildOpts<'a>
impl<'a> Send for DirectoryDockerBuildOpts<'a>
impl<'a> Sync for DirectoryDockerBuildOpts<'a>
impl<'a> Unpin for DirectoryDockerBuildOpts<'a>
impl<'a> UnwindSafe for DirectoryDockerBuildOpts<'a>
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