Closed
Fix serena-mcp-server container: rebuild on python:3.13-slim to eliminate 413 CVEs#48562
Conversation
…:3.13-slim base Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update container image to resolve vulnerabilities
Fix serena-mcp-server container: rebuild on python:3.13-slim to eliminate 413 CVEs
Jul 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ghcr.io/github/serena-mcp-server:latestis pinned to a Feb 2026 build onpython:3.11-slimwith 413 vulnerabilities (61 Critical, 352 High). No updated image has been published upstream.This PR adds build infrastructure directly in
gh-awto own the image and rebuild it on a patched base.New files
containers/serena-mcp-server/Dockerfile— Multi-stage build mirroring the upstream image:golang:1.25-alpine): compilesgopls@v0.21.0from sourcepython:3.13-slim): installs git, Node.js/npm, golang-go, gopls,python-lsp-server[all], TypeScript language server, and theserenapackage; includes an init script to configure multi-language project settings on startup.github/workflows/publish-serena-mcp-server.yml— Builds and pushesghcr.io/github/serena-mcp-server:lateston:maintouchingcontainers/serena-mcp-server/**workflow_dispatchAll action references pinned to SHA. Builds
linux/amd64+linux/arm64.Follow-up required after merge
Once CI publishes the new image, run
make recompileto update thesha256:bf343399...pin in 20+.lock.ymlfiles to the new digest.