Skip to content

Commit 8f5f8e5

Browse files
devatsecureclaude
andcommitted
chore: Remove vestigial ZAP + OpenJDK from Dockerfile.complete
ZAP was installed but never used by hybrid_analyzer.py. Removing ZAP and openjdk-17-jre-headless reduces image size by ~700MB-1GB. dast-mvp.dockerfile retains ZAP for DAST scanning. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent a65f4e1 commit 8f5f8e5

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

Dockerfile.complete

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ RUN GITLEAKS_VERSION="8.18.4" && \
3333
# Install unzip (required for Nuclei)
3434
RUN apt-get update && apt-get install -y --no-install-recommends \
3535
unzip \
36-
openjdk-17-jre-headless \
3736
&& rm -rf /var/lib/apt/lists/*
3837

3938
# Install Nuclei (for DAST)
@@ -43,12 +42,6 @@ RUN wget -q https://github.com/projectdiscovery/nuclei/releases/download/v3.1.0/
4342
chmod +x /usr/local/bin/nuclei && \
4443
nuclei -update-templates || true
4544

46-
# Install OWASP ZAP (for DAST)
47-
RUN wget -q https://github.com/zaproxy/zaproxy/releases/download/v2.14.0/ZAP_2.14.0_Linux.tar.gz -O /tmp/zap.tar.gz && \
48-
tar -xzf /tmp/zap.tar.gz -C /opt && \
49-
rm /tmp/zap.tar.gz && \
50-
ln -s /opt/ZAP_2.14.0/zap.sh /usr/local/bin/zap.sh || true
51-
5245
# Install OPA (for policy gates)
5346
RUN wget -q https://openpolicyagent.org/downloads/latest/opa_linux_amd64_static -O /usr/local/bin/opa && \
5447
chmod +x /usr/local/bin/opa

0 commit comments

Comments
 (0)