Skip to content

Commit

Permalink
add check for graalvm
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonlamz committed Mar 15, 2024
1 parent b6162cb commit c8bce1d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wrapper/src/test/java/integration/util/ContainerHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,9 @@ public T withFixedExposedPort(int hostPort, int containerPort) {
builder
.from(testContainerImageName)
.run("mkdir", "app")
.run("microdnf", "install", "findutils")
.run(testContainerImageName.contains("graalvm")
? "microdnf install findutils"
: "echo Skipping findutils installation")
.workDir("/app")
.entryPoint("/bin/sh -c \"while true; do sleep 30; done;\"")
.expose(5005) // Exposing ports for debugger to be attached
Expand Down

0 comments on commit c8bce1d

Please sign in to comment.