From d35acce0810ea70874f7565b39baaf6ccc32b3aa Mon Sep 17 00:00:00 2001 From: call1dus Date: Sun, 20 Dec 2020 08:57:37 -0600 Subject: [PATCH 1/2] create artifacts directory --- build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build.sh b/build.sh index c7b8a3b..811b796 100755 --- a/build.sh +++ b/build.sh @@ -1,3 +1,4 @@ #!/bin/bash +mkdir artifacts docker build -t detectionscanner . From da1d7f19652a5f082c9a89ed3f52fafd406b43b1 Mon Sep 17 00:00:00 2001 From: call1dus Date: Sun, 20 Dec 2020 08:58:11 -0600 Subject: [PATCH 2/2] mount artifacts directory for scanning --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 9f63972..44c9ac9 100755 --- a/run.sh +++ b/run.sh @@ -1,3 +1,3 @@ #!/bin/bash -docker run --rm -v $(pwd):/opt/documents/ detectionscanner +docker run --rm -v $(pwd)/artifacts:/opt/documents/ detectionscanner