mirror of
https://github.com/anchore/syft.git
synced 2026-11-03 07:56:36 +01:00
add container support for graalvm fixture (#4528)
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ set -uxe
|
|||||||
|
|
||||||
PKGSDIR=$1
|
PKGSDIR=$1
|
||||||
|
|
||||||
CTRID=$(docker create -v /example-java-app ghcr.io/graalvm/native-image:22.2.0 -cp /example-java-app/example-java-app-maven-0.1.0.jar --no-fallback -H:Class=hello.HelloWorld -H:Name=example-java-app)
|
CTRID=$(docker create -v /example-java-app ghcr.io/graalvm/native-image:22.2.0 -cp /example-java-app/example-java-app-maven-0.1.0.jar -XX:-UseContainerSupport --no-fallback -H:Class=hello.HelloWorld -H:Name=example-java-app)
|
||||||
|
|
||||||
function cleanup() {
|
function cleanup() {
|
||||||
docker rm "${CTRID}"
|
docker rm "${CTRID}"
|
||||||
|
|||||||
Reference in New Issue
Block a user