public class BuildService extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
buildImage(org.eclipse.jkube.kit.config.image.ImageConfiguration imageConfig,
ImagePullManager imagePullManager,
JKubeConfiguration configuration)
Pull the base image if needed and run the build.
|
protected void |
buildImage(org.eclipse.jkube.kit.config.image.ImageConfiguration imageConfig,
JKubeConfiguration params,
boolean noCache,
Map<String,String> buildArgs)
Build an image
|
void |
tagImage(String imageName,
org.eclipse.jkube.kit.config.image.ImageConfiguration imageConfig) |
public void buildImage(org.eclipse.jkube.kit.config.image.ImageConfiguration imageConfig,
ImagePullManager imagePullManager,
JKubeConfiguration configuration)
throws IOException
imageConfig - the image configurationimagePullManager - the image pull managerconfiguration - the project configurationIOException - in case of any problemspublic void tagImage(String imageName, org.eclipse.jkube.kit.config.image.ImageConfiguration imageConfig) throws DockerAccessException
DockerAccessExceptionprotected void buildImage(org.eclipse.jkube.kit.config.image.ImageConfiguration imageConfig,
JKubeConfiguration params,
boolean noCache,
Map<String,String> buildArgs)
throws IOException
imageConfig - the image configurationparams - mojo params for the projectnoCache - if not null, dictate the caching behaviour. Otherwise its taken from the build configurationbuildArgs - maven build contextDockerAccessException - docker access exceptionIOException - in case of any I/O exceptionCopyright © 2021. All rights reserved.