Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 2.46 KB

V1DockerBuildStrategy.md

File metadata and controls

17 lines (13 loc) · 2.46 KB

V1DockerBuildStrategy

Properties

Name Type Description Notes
buildArgs \UniversityOfAdelaide\OpenShift\Model\V1EnvVar[] buildArgs contains build arguments that will be resolved in the Dockerfile. See https://docs.docker.com/engine/reference/builder/#/arg for more details. [optional]
dockerfilePath string dockerfilePath is the path of the Dockerfile that will be used to build the Docker image, relative to the root of the context (contextDir). [optional]
env \UniversityOfAdelaide\OpenShift\Model\V1EnvVar[] env contains additional environment variables you want to pass into a builder container. ValueFrom is not supported. [optional]
forcePull bool forcePull describes if the builder should pull the images from registry prior to building. [optional]
from \UniversityOfAdelaide\OpenShift\Model\V1ObjectReference from is reference to an DockerImage, ImageStreamTag, or ImageStreamImage from which the docker image should be pulled the resulting image will be used in the FROM line of the Dockerfile for this build. [optional]
imageOptimizationPolicy string imageOptimizationPolicy describes what optimizations the system can use when building images to reduce the final size or time spent building the image. The default policy is 'None' which means the final build image will be equivalent to an image created by the Docker build API. The experimental policy 'SkipLayers' will avoid commiting new layers in between each image step, and will fail if the Dockerfile cannot provide compatibility with the 'None' policy. An additional experimental policy 'SkipLayersAndWarn' is the same as 'SkipLayers' but simply warns if compatibility cannot be preserved. [optional]
noCache bool noCache if set to true indicates that the docker build must be executed with the --no-cache=true flag [optional]
pullSecret \UniversityOfAdelaide\OpenShift\Model\V1LocalObjectReference pullSecret is the name of a Secret that would be used for setting up the authentication for pulling the Docker images from the private Docker registries [optional]

[Back to Model list] [Back to API list] [Back to README]