Skip to content

Commit

Permalink
Add support for container includes option
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
  • Loading branch information
pditommaso committed Feb 12, 2024
1 parent a29f905 commit 01d5904
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/src/main/java/io/seqera/wave/cli/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,9 @@ public class App implements Runnable {
@Option(names = {"--inspect"}, paramLabel = "false", description = "Inspect specified container image")
private boolean inspect;

@Option(names = {"--include"}, paramLabel = "false", description = "Include one or more containers in the specified base image")
List<String> includes;

public static void main(String[] args) {
try {
final App app = new App();
Expand Down Expand Up @@ -401,6 +404,7 @@ protected SubmitContainerTokenRequest createRequest() {
.withFormat( singularity ? "sif" : null )
.withFreezeMode(freeze)
.withDryRun(dryRun)
.withContainerIncludes(includes)
;
}

Expand Down

0 comments on commit 01d5904

Please sign in to comment.