From cbaf5914b879ad86da9b65bcbc0d778e97e566b7 Mon Sep 17 00:00:00 2001 From: MaxymVlasov Date: Mon, 9 Jun 2025 16:01:23 +0300 Subject: [PATCH] chore(docker): Add validation for pip installed packages for integrity validation --- tools/install/checkov.sh | 1 + tools/install/pre-commit.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/tools/install/checkov.sh b/tools/install/checkov.sh index 8be8c649e..df031cfe2 100755 --- a/tools/install/checkov.sh +++ b/tools/install/checkov.sh @@ -29,6 +29,7 @@ if [[ $VERSION == latest ]]; then else pip3 install --no-cache-dir "${TOOL}==${VERSION}" fi +pip3 check apk del gcc libffi-dev musl-dev # no longer required once checkov version depends on rustworkx >0.14.0 diff --git a/tools/install/pre-commit.sh b/tools/install/pre-commit.sh index 9f3bdfb24..ca46e679d 100755 --- a/tools/install/pre-commit.sh +++ b/tools/install/pre-commit.sh @@ -14,3 +14,4 @@ if [[ $VERSION == latest ]]; then else pip3 install --no-cache-dir "${TOOL}==${VERSION}" fi +pip3 check