Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

fix: correct Dockle suppressions for false positives (#1917)

LearningCircuit4bcf1ccb82cb
diff --git a/.github/workflows/dockle.yml b/.github/workflows/dockle.yml
index df6f193733..1685c342b8 100644
--- a/.github/workflows/dockle.yml
+++ b/.github/workflows/dockle.yml
@@ -56,8 +56,8 @@ jobs:
# not a Dockerfile concern; enforced at deployment time
# - CIS-DI-0008: setuid/setgid files - unix_chkpwd is standard Debian base utility
# required for PAM authentication, inherited from python:3.14-slim base image
- # - DKL-DI-0001: Clear apt-get caches - already done in Dockerfile (rm -rf /var/lib/apt/lists/*),
- # but multi-stage build metadata may confuse Dockle
+ # - DKL-DI-0005: Clear apt-get caches - already done in Dockerfile (rm -rf /var/lib/apt/lists/*),
+ # but base image (python:3.14-slim) layers trigger this check
#
# Accepted files (false positives):
# - unix_chkpwd: PAM utility from Debian base image
@@ -71,9 +71,9 @@ jobs:
--ignore CIS-DI-0001 \
--ignore CIS-DI-0005 \
--ignore CIS-DI-0008 \
- --ignore DKL-DI-0001 \
+ --ignore DKL-DI-0005 \
--accept-file "usr/sbin/unix_chkpwd" \
- --accept-key "settings.py" \
+ --accept-file "settings.py" \
local-deep-research:dockle-scan || {
DOCKLE_FOUND_ISSUES=true
echo "Dockle found security or best practice issues"
@@ -95,9 +95,9 @@ jobs:
--ignore CIS-DI-0001 \
--ignore CIS-DI-0005 \
--ignore CIS-DI-0008 \
- --ignore DKL-DI-0001 \
+ --ignore DKL-DI-0005 \
--accept-file "usr/sbin/unix_chkpwd" \
- --accept-key "settings.py" \
+ --accept-file "settings.py" \
local-deep-research:dockle-scan || true
- name: Upload Dockle results to GitHub Security tab
@@ -182,7 +182,7 @@ jobs:
echo "- **CIS-DI-0001** (Create a user): Uses gosu entrypoint pattern for privilege drop"
echo "- **CIS-DI-0005** (Content trust): Runtime env var, not Dockerfile concern"
echo "- **CIS-DI-0008** (setuid/setgid): unix_chkpwd from Debian base, required for PAM"
- echo "- **DKL-DI-0001** (apt-get cache): Dockerfile clears caches, multi-stage metadata issue"
+ echo "- **DKL-DI-0005** (apt-get cache): Dockerfile clears caches, base image triggers this"
echo "- **settings.py**: Any file named settings.py accepted (config files, not credentials)"
} >> "$GITHUB_STEP_SUMMARY"