diff --git a/tools/install/checkov.sh b/tools/install/checkov.sh index 8be8c649e..81cc592fe 100755 --- a/tools/install/checkov.sh +++ b/tools/install/checkov.sh @@ -13,24 +13,8 @@ apk add --no-cache \ libffi-dev=~3 \ musl-dev=~1 -# cargo, gcc, git, musl-dev, rust and CARGO envvar required for compilation of rustworkx@0.13.2 -# no longer required once checkov version depends on rustworkx >0.14.0 -# https://github.com/bridgecrewio/checkov/pull/6045 -# gcc libffi-dev musl-dev required for compilation of cffi, until it contains musl aarch64 -export CARGO_NET_GIT_FETCH_WITH_CLI=true -apk add --no-cache \ - cargo=~1 \ - git=~2 \ - libgcc=~12 \ - rust=~1 - if [[ $VERSION == latest ]]; then pip3 install --no-cache-dir "${TOOL}" else pip3 install --no-cache-dir "${TOOL}==${VERSION}" fi - -apk del gcc libffi-dev musl-dev -# no longer required once checkov version depends on rustworkx >0.14.0 -# https://github.com/bridgecrewio/checkov/pull/6045 -apk del cargo git rust