File tree Expand file tree Collapse file tree
src/main/java/com/kpelykh/docker/client/model Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,6 +37,8 @@ public class ContainerConfig {
3737 @ JsonProperty ("Domainname" ) private String domainName = "" ;
3838 // FIXME Is this the right type? -BJE
3939 @ JsonProperty ("ExposedPorts" ) private Map <String , ?> exposedPorts ;
40+
41+ @ JsonProperty ("OnBuild" ) private int [] onBuild ;
4042
4143 public Map <String , ?> getExposedPorts () {
4244 return exposedPorts ;
@@ -241,6 +243,19 @@ public ContainerConfig setEntrypoint(String[] entrypoint) {
241243 this .entrypoint = entrypoint ;
242244 return this ;
243245 }
246+
247+ public void setOnBuild (int [] onBuild ) {
248+ this .onBuild = onBuild ;
249+ }
250+
251+ public int [] getOnBuild () {
252+ return onBuild ;
253+ }
254+
255+ public void setDomainName (String domainName ) {
256+ this .domainName = domainName ;
257+ }
258+
244259
245260 @ Override
246261 public String toString () {
@@ -268,6 +283,7 @@ public String toString() {
268283 ", privileged=" + privileged +
269284 ", workingDir='" + workingDir + '\'' +
270285 ", domainName='" + domainName + '\'' +
286+ ", onBuild='" + onBuild + '\'' +
271287 '}' ;
272288 }
273289}
You can’t perform that action at this time.
0 commit comments