Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e443ea4d39 | |||
| 8ac1d8223b |
@@ -20,10 +20,10 @@ docker run --rm \
|
|||||||
-w /repo \
|
-w /repo \
|
||||||
-e STAGED_FILES="$STAGED" \
|
-e STAGED_FILES="$STAGED" \
|
||||||
-u 1001:1001 \
|
-u 1001:1001 \
|
||||||
-e HOME=/tmp \
|
|
||||||
-e PIP_DISABLE_PIP_VERSION_CHECK=1 \
|
-e PIP_DISABLE_PIP_VERSION_CHECK=1 \
|
||||||
|
-e PIP_NO_CACHE_DIR=1 \
|
||||||
python:3.12-slim \
|
python:3.12-slim \
|
||||||
sh -c "pip install --quiet --user --no-warn-script-location bandit && python scripts/security_check.py"
|
sh -c "python -m venv /tmp/venv && /tmp/venv/bin/pip install --quiet bandit && /tmp/venv/bin/python scripts/security_check.py"
|
||||||
|
|
||||||
EXIT_CODE=$?
|
EXIT_CODE=$?
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user