Skip to content

Prepare MemoryGate 0.5.1: drop the base image's setuptools and wheel - #15

Merged
alexeybe1kin merged 2 commits into
mainfrom
release/0.5.1
Oct 23, 2026
Merged

alexeybe1kin merged 2 commits into
mainfrom
release/0.5.1

Conversation

@alexeybe1kin

Copy link
Copy Markdown
Collaborator

The image scan (conker#118) found two HIGH, fixable advisories in the published MemoryGate 0.5.0 image: wheel 0.45.1 and jaraco.context 5.3.0. Both are copies python:3.11-slim ships with setuptools.

The service never imports setuptools or wheel; the connected workspace already runs it without them, and it imports with no environment. So the image now removes both, and the dashboard image does the same.

CI's image job now also:

  • runs the app's import inside the built image;
  • scans the built image with Trivy 0.75.0, pinned by digest, failing on fixable HIGH or CRITICAL problems.

Version 0.5.1. No tag yet: pushing v0.5.1 publishes the image.

🤖 Generated with Claude Code

alexeybe1kin and others added 2 commits October 23, 2026 08:06
The new image scan found published advisories in the copies of wheel
(0.45.1) and jaraco.context (5.3.0) that python:3.11-slim ships with
setuptools. The service never imports either (the connected workspace
runs it without them), so the image removes both. CI now checks that the
built image imports its app and scans it with Trivy, pinned by digest,
before it can be published. Nothing is tagged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@alexeybe1kin
alexeybe1kin merged commit dfaf5ec into main Oct 23, 2026
5 checks passed
@alexeybe1kin
alexeybe1kin deleted the release/0.5.1 branch October 23, 2026 05:19
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.

1 participant