Skip to content

Commit 3c9ef3d

Browse files
authored
fix(docker): Drop Mac arm64 build-time hack, needed for checkov<3.2.395 (#907)
### Description of your changes Drop not more needed to hack for `checkov` during docker images installation, as bridgecrewio/checkov#7072 merged 3 months ago as `3.2.395`. That's make obsolete hack from #635 as bridgecrewio/checkov#7072 finally closes bridgecrewio/checkov#5608 for Mac arm64, because `checkov` finally uses `rustworkx >= 0.14.0`
1 parent 7ce059e commit 3c9ef3d

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

tools/install/checkov.sh

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,9 @@ apk add --no-cache \
1313
libffi-dev=~3 \
1414
musl-dev=~1
1515

16-
# cargo, gcc, git, musl-dev, rust and CARGO envvar required for compilation of [email protected]
17-
# no longer required once checkov version depends on rustworkx >0.14.0
18-
# https://github.com/bridgecrewio/checkov/pull/6045
19-
# gcc libffi-dev musl-dev required for compilation of cffi, until it contains musl aarch64
20-
export CARGO_NET_GIT_FETCH_WITH_CLI=true
21-
apk add --no-cache \
22-
cargo=~1 \
23-
git=~2 \
24-
libgcc=~12 \
25-
rust=~1
26-
2716
if [[ $VERSION == latest ]]; then
2817
pip3 install --no-cache-dir "${TOOL}"
2918
else
3019
pip3 install --no-cache-dir "${TOOL}==${VERSION}"
3120
fi
3221
pip3 check
33-
34-
apk del gcc libffi-dev musl-dev
35-
# no longer required once checkov version depends on rustworkx >0.14.0
36-
# https://github.com/bridgecrewio/checkov/pull/6045
37-
apk del cargo git rust

0 commit comments

Comments
 (0)