Struct podman_api::opts::ImageBuildOptsBuilder [−][src]
pub struct ImageBuildOptsBuilder { /* fields omitted */ }
Expand description
A builder struct for ImageBuildOpts.
Implementations
Finish building ImageBuildOpts.
Key-value build time variables.
List of images used to build cache resolution
Limits the CPU CFS (Completely Fair Scheduler) period.
Limits the CPU CFS (Completely Fair Scheduler) quota.
Set CPUs in which to allow execution. Example: 0-1
, 1-3
CPU shares - relative weights
Path within the build context to the Dockerfile. This is ignored if remote is specified and points to an external Dockerfile.
Extra hosts to add to /etc/hosts.
Always remove intermediate containers, even upon failure.
Inject http proxy environment variables into container.
Key-value pairs to set as labels on the new image.
The upper limit (in bytes) on how much memory running containers can use.
Set the networking mode for the run commands during build.
Attempt to pull the image even if an older image exists locally.
A Git repository URI or HTTP/HTTPS context URI. If the URI points to a single text file, the file’s contents are placed into a file called Dockerfile and the image is built from that file. If the URI points to a tarball, the file is downloaded by the daemon and the contents therein used as the context for the build. If the URI points to a tarball and the dockerfile parameter is also specified, there must be a file with the corresponding path inside the tarball.
Remove intermediate containers after a successful build.
Value to use when mounting an shmfs on the container’s /dev/shm directory. Default is 64MB
Silently ignored. Squash the resulting images layers into a single layer.
A name and optional tag to apply to the image in the name:tag
format.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ImageBuildOptsBuilder
impl Send for ImageBuildOptsBuilder
impl Sync for ImageBuildOptsBuilder
impl Unpin for ImageBuildOptsBuilder
impl UnwindSafe for ImageBuildOptsBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more