Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion containers/serena-mcp-server/BUILD_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Serena MCP Server Container - Build Issues
# Serena MCP Server Container - Build Notes

## Current Status

Expand All @@ -8,6 +8,15 @@ The Serena MCP server container Dockerfile has been created with support for:
- JavaScript/TypeScript (Node.js + npm)
- Go (golang-go package)

## Recent Fixes

### PATH Configuration Fix (2026-01-18)
Fixed an issue where the `go` command was not found in the container's PATH during runtime:
- **Problem**: Line 40 of the Dockerfile explicitly set `/usr/bin` in the PATH, which was redundant and potentially caused PATH resolution issues
- **Solution**: Changed `ENV PATH="${GOPATH}/bin:/usr/bin:${PATH}"` to `ENV PATH="${GOPATH}/bin:${PATH}"`
- **Impact**: Simplifies PATH configuration by relying on the base image's default PATH, which already includes `/usr/bin`
- **Testing**: Smoke tests should now successfully execute `go version` within the container

## Build Issues Encountered

During local testing, the container build encountered SSL/TLS certificate verification issues:
Expand Down
2 changes: 1 addition & 1 deletion containers/serena-mcp-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ENV JAVA_HOME=/usr/lib/jvm/default-java
ENV PATH="${JAVA_HOME}/bin:${PATH}"
ENV GOPATH=/go
ENV PATH="${GOPATH}/bin:/usr/bin:${PATH}"
ENV PATH="${GOPATH}/bin:${PATH}"

# Install Serena MCP server from GitHub using pip
# Serena is a Python package, so we can install it directly
Expand Down