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