public interface BuildImageCmd extends AsyncDockerCmd<BuildImageCmd,BuildResponseItem>
TODO: http://docs.docker.com/reference/builder/#dockerignore
Modifier and Type | Interface and Description |
---|---|
static interface |
BuildImageCmd.Exec |
exec
@CheckForNull InputStream getTarInputStream()
@CheckForNull AuthConfigurations getBuildAuthConfigs()
@CheckForNull @Deprecated String getTag()
getTags()
@CheckForNull Set<String> getTags()
RemoteApiVersion#VERSION_1_21
@CheckForNull Set<String> getCacheFrom()
@CheckForNull URI getRemote()
@CheckForNull Boolean hasNoCacheEnabled()
@CheckForNull Boolean hasRemoveEnabled()
@CheckForNull Boolean isForcerm()
@CheckForNull Boolean isQuiet()
@CheckForNull Boolean hasPullEnabled()
@CheckForNull String getPathToDockerfile()
@CheckForNull Long getMemory()
@CheckForNull Long getMemswap()
@CheckForNull String getCpushares()
@CheckForNull String getCpusetcpus()
@CheckForNull Map<String,String> getBuildArgs()
RemoteApiVersion#VERSION_1_21
@CheckForNull Long getShmsize()
RemoteApiVersion#VERSION_1_22
@CheckForNull Map<String,String> getLabels()
RemoteApiVersion#VERSION_1_23
@CheckForNull String getNetworkMode()
RemoteApiVersion#VERSION_1_25
@CheckForNull String getPlatform()
RemoteApiVersion#VERSION_1_32
@CheckForNull String getTarget()
RemoteApiVersion#VERSION_1_38
@CheckForNull Set<String> getExtraHosts()
RemoteApiVersion#VERSION_1_28
@Deprecated BuildImageCmd withTag(String tag)
withTags(java.util.Set)
BuildImageCmd withTags(Set<String> tags)
BuildImageCmd withCacheFrom(Set<String> cacheFrom)
BuildImageCmd withRemote(URI remote)
BuildImageCmd withBaseDirectory(File baseDirectory)
BuildImageCmd withDockerfile(File dockerfile)
BuildImageCmd withDockerfilePath(String dockerfilePath)
BuildImageCmd withNoCache(Boolean noCache)
BuildImageCmd withRemove(Boolean rm)
BuildImageCmd withForcerm(Boolean forcerm)
BuildImageCmd withQuiet(Boolean quiet)
BuildImageCmd withPull(Boolean pull)
BuildImageCmd withMemory(Long memory)
BuildImageCmd withMemswap(Long memswap)
BuildImageCmd withCpushares(String cpushares)
BuildImageCmd withCpusetcpus(String cpusetcpus)
BuildImageCmd withBuildArg(String key, String value)
RemoteApiVersion#VERSION_1_21
BuildImageCmd withBuildAuthConfigs(AuthConfigurations authConfig)
BuildImageCmd withTarInputStream(@Nonnull InputStream tarInputStream)
BuildImageCmd withShmsize(Long shmsize)
RemoteApiVersion#VERSION_1_22
BuildImageCmd withLabels(Map<String,String> labels)
RemoteApiVersion#VERSION_1_23
BuildImageCmd withNetworkMode(String networkMode)
RemoteApiVersion#VERSION_1_25
BuildImageCmd withPlatform(String platform)
RemoteApiVersion#VERSION_1_32
BuildImageCmd withTarget(String target)
RemoteApiVersion#VERSION_1_38
BuildImageCmd withExtraHosts(Set<String> extraHosts)
RemoteApiVersion#VERSION_1_28
default BuildImageResultCallback start()
start
in interface AsyncDockerCmd<BuildImageCmd,BuildResponseItem>
Copyright © 2023. All rights reserved.