fix(sdk): absolute ENTRYPOINT to work with uv#11313
Conversation
|
✅ Conflict Markers Resolved All conflict markers have been successfully resolved in this pull request. |
|
✅ All necessary |
There was a problem hiding this comment.
Pull request overview
Fixes a regression introduced by the Poetry→uv migration where the container ENTRYPOINT became a relative path and broke runs that override the container workdir (notably the official GitHub Action).
Changes:
- Switch Docker image
ENTRYPOINTfrom relative.venv/bin/prowlerto absolute/home/prowler/.venv/bin/prowler. - Add a changelog entry describing the fix and the affected versions/action usage.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
Dockerfile |
Makes the container entrypoint absolute so it works regardless of runtime --workdir. |
prowler/CHANGELOG.md |
Documents the regression and the fix under the upcoming release. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
🔒 Container Security ScanImage: 📊 Vulnerability Summary
5 package(s) affected
|
Context
Fix #11275
Timeline
-w /home/prowler/workspace. At this pointENTRYPOINTis["poetry", "run", "prowler"]— poetry resolves viaPATH, not a relative file lookup.Description
Container image now uses an absolute
ENTRYPOINT(/home/prowler/.venv/bin/prowler) so it works under any runtime--workdir. The relative entrypoint was breaking the official GitHub Action (prowler-cloud/prowler@v5.27.0) and anydocker runwith a custom-wChecklist
Community Checklist
SDK/CLI
UI
API
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.