Skip to content

Switch to Ubuntu Noble base image and non root user#17

Merged
codedmart merged 5 commits intomainfrom
fix-vulns
Feb 4, 2026
Merged

Switch to Ubuntu Noble base image and non root user#17
codedmart merged 5 commits intomainfrom
fix-vulns

Conversation

@shahidhk
Copy link
Member

@shahidhk shahidhk commented Feb 4, 2026

Summary

  • Switch from python:3.12-slim to ubuntu:noble-20260113 base image
  • Run container as non-root user for improved security
  • Remove manual CVE patches (no longer needed with new base image)

Test plan

  • Build Docker image successfully
  • Trivy scan shows 0 HIGH/CRITICAL vulnerabilities

🤖 Generated with Claude Code

- Use ubuntu:noble-20260113 base image instead of python:3.12-slim
- Install Python 3.13 from deadsnakes PPA
- Run container as non-root user for security
- Remove CVE-specific patches (no longer needed with new base)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Use ubuntu:noble-20260113 base image instead of python:3.12-slim
- Use Ubuntu's built-in Python 3.12
- Run container as non-root user for improved security

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@shahidhk shahidhk changed the title Switch to Ubuntu Noble base image with Python 3.13 Switch to Ubuntu Noble base image Feb 4, 2026
@shahidhk shahidhk changed the title Switch to Ubuntu Noble base image Switch to Ubuntu Noble base image and non root user Feb 4, 2026
shahidhk and others added 3 commits February 4, 2026 10:01
- Scan pushed Docker image for vulnerabilities
- Upload scan results to Security Agent
- Fail build on HIGH/CRITICAL vulnerabilities

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- New security-scan job runs on all PRs and branch pushes
- Builds Docker image locally and scans with Trivy
- Uploads results to Security Agent
- Fails on HIGH/CRITICAL vulnerabilities

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@codedmart codedmart merged commit 5b77e0e into main Feb 4, 2026
6 checks passed
@codedmart codedmart deleted the fix-vulns branch February 4, 2026 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants