com.github.dockerjava.client.command
Class BuildImgCmd
java.lang.Object
com.github.dockerjava.client.command.AbstrDockerCmd<BuildImgCmd,com.sun.jersey.api.client.ClientResponse>
com.github.dockerjava.client.command.BuildImgCmd
- All Implemented Interfaces:
- DockerCmd<com.sun.jersey.api.client.ClientResponse>
public class BuildImgCmd
- extends AbstrDockerCmd<BuildImgCmd,com.sun.jersey.api.client.ClientResponse>
Build an image from Dockerfile.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BuildImgCmd
public BuildImgCmd(File dockerFolder)
BuildImgCmd
public BuildImgCmd(InputStream tarInputStream)
withTag
public BuildImgCmd withTag(String tag)
withNoCache
public BuildImgCmd withNoCache(boolean noCache)
impl
protected com.sun.jersey.api.client.ClientResponse impl()
callDocker
protected com.sun.jersey.api.client.ClientResponse callDocker(InputStream dockerFolderTarInputStream)
buildDockerFolderTar
protected File buildDockerFolderTar()
Copyright © 2014. All rights reserved.