Skip to content

Commit a11811b

Browse files
committed
Add information about API version
1 parent 95caffa commit a11811b

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/main/java/com/github/dockerjava/api/command/BuildImageCmd.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
import com.github.dockerjava.api.model.AuthConfigurations;
1212
import com.github.dockerjava.api.model.BuildResponseItem;
13+
import com.github.dockerjava.core.RemoteApiVersion;
1314

1415
/**
1516
* Build an image from Dockerfile.
@@ -88,6 +89,9 @@ public interface BuildImageCmd extends AsyncDockerCmd<BuildImageCmd, BuildRespon
8889
@CheckForNull
8990
public String getCpusetcpus();
9091

92+
/**
93+
* @since {@link RemoteApiVersion#VERSION_1_21}
94+
*/
9195
@CheckForNull
9296
public Map<String, String> getBuildArgs();
9397

@@ -119,6 +123,9 @@ public interface BuildImageCmd extends AsyncDockerCmd<BuildImageCmd, BuildRespon
119123

120124
public BuildImageCmd withCpusetcpus(String cpusetcpus);
121125

126+
/**
127+
* @since {@link RemoteApiVersion#VERSION_1_21}
128+
*/
122129
public BuildImageCmd withBuildArg(String key, String value);
123130

124131
// setters lib specific

0 commit comments

Comments
 (0)