forked from docker-java/docker-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBuildImageCmd.java
More file actions
43 lines (26 loc) · 893 Bytes
/
Copy pathBuildImageCmd.java
File metadata and controls
43 lines (26 loc) · 893 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package com.github.dockerjava.api.command;
import java.io.InputStream;
/**
*
* Build an image from Dockerfile.
*
* TODO: http://docs.docker.com/reference/builder/#dockerignore
*
*/
public interface BuildImageCmd extends DockerCmd<InputStream>{
public BuildImageCmd withTag(String tag);
public InputStream getTarInputStream();
public String getTag();
public boolean hasNoCacheEnabled();
public boolean hasRemoveEnabled();
public boolean isQuiet();
public BuildImageCmd withTarInputStream(InputStream tarInputStream);
public BuildImageCmd withNoCache();
public BuildImageCmd withNoCache(boolean noCache);
public BuildImageCmd withRemove();
public BuildImageCmd withRemove(boolean rm);
public BuildImageCmd withQuiet();
public BuildImageCmd withQuiet(boolean quiet);
public static interface Exec extends DockerCmdExec<BuildImageCmd, InputStream> {
}
}