Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions tools/install/checkov.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,9 @@ apk add --no-cache \
libffi-dev=~3 \
musl-dev=~1

# cargo, gcc, git, musl-dev, rust and CARGO envvar required for compilation of [email protected]
# 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
pip3 check

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
Loading