##// END OF EJS Templates
Fixed RunImage
cin -
r16:286da9ffb112 default
parent child
Show More
@@ -6,6 +6,7 import org.gradle.api.provider.ListPrope
6 import org.gradle.api.provider.Property;
6 import org.gradle.api.provider.Property;
7 import org.gradle.api.tasks.Input;
7 import org.gradle.api.tasks.Input;
8 import org.gradle.api.tasks.Optional;
8 import org.gradle.api.tasks.Optional;
9 import org.gradle.api.tasks.TaskAction;
9 import org.implab.gradle.containers.dsl.OptionsMixin;
10 import org.implab.gradle.containers.dsl.OptionsMixin;
10 import org.implab.gradle.containers.dsl.VolumeSpec;
11 import org.implab.gradle.containers.dsl.VolumeSpec;
11
12
@@ -32,6 +33,7 public abstract class RunImage extends D
32 getCommandLine().addAll(args);
33 getCommandLine().addAll(args);
33 }
34 }
34
35
36 @TaskAction
35 public void run() throws InterruptedException, IOException {
37 public void run() throws InterruptedException, IOException {
36 docker().runImage(
38 docker().runImage(
37 getImageName().get(),
39 getImageName().get(),
General Comments 0
You need to be logged in to leave comments. Login now