Add checkov package
This commit is contained in:
@@ -96,6 +96,22 @@ until docker info >/dev/null 2>&1; do
|
||||
sleep 2
|
||||
done
|
||||
|
||||
# ==== Install pre-commit ===
|
||||
if ! command -v pre-commit >/dev/null 2>&1; then
|
||||
echo "[entrypoint] Installing pre-commit..."
|
||||
su - "$DOCKER_USER" -c "pipx install pre-commit"
|
||||
else
|
||||
echo "[entrypoint] pre-commit already installed, skipping installation."
|
||||
fi
|
||||
|
||||
# === Install checkov ===
|
||||
if ! command -v checkov >/dev/null 2>&1; then
|
||||
echo "[entrypoint] Installing checkov..."
|
||||
su - "$DOCKER_USER" -c "pipx install checkov"
|
||||
else
|
||||
echo "[entrypoint] checkov already installed, skipping installation."
|
||||
fi
|
||||
|
||||
# === Install hyperterm ===
|
||||
if ! stat $HOME_DIR/.hyperterm > /dev/null 2>&1; then
|
||||
echo "[entrypoint] Installing hyperterm..."
|
||||
|
||||
Reference in New Issue
Block a user