From c4ffe4e9787d36083694cc4ab56da239538fb57b Mon Sep 17 00:00:00 2001 From: Marton Matusek Date: Wed, 14 Feb 2024 16:36:18 +0100 Subject: [PATCH] chore(blackduck): exclude sample app from scans SUITEDEV-35028 Co-authored-by: davidSchuppa <32750715+davidSchuppa@users.noreply.github.com> --- Dockerfile.codescan | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile.codescan b/Dockerfile.codescan index 6a4f8fe5..e210d0b4 100644 --- a/Dockerfile.codescan +++ b/Dockerfile.codescan @@ -4,4 +4,7 @@ USER root RUN export ANDROID_HOME=android RUN export BLACKDUCK=true RUN echo $ANDROID_HOME > local.properties -WORKDIR /workspace/source \ No newline at end of file +WORKDIR /workspace/source + +# we don't want to scan the sample app +CMD rm -rf sample \ No newline at end of file