You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@solr.apache.org by "adityamparikh (via GitHub)" <gi...@apache.org> on 2025/10/26 21:47:48 UTC

[PR] feat: add Docker support with Jib and GitHub Actions CI/CD [solr-mcp]

adityamparikh opened a new pull request, #4:
URL: https://github.com/apache/solr-mcp/pull/4

   ## Summary
   
   This PR adds comprehensive Docker support to the Solr MCP Server project using Google's Jib for containerization and GitHub Actions for automated CI/CD.
   
   ### Key Features
   
   **Jib Integration:**
   - Multi-platform Docker images (linux/amd64, linux/arm64)
   - No Docker daemon required for builds
   - Optimized layered images for faster deployments
   - Support for local builds, Docker Hub, and GitHub Container Registry
   
   **GitHub Actions Workflow:**
   - Automated JAR builds and testing on every push/PR
   - Automated Docker image publishing to GHCR and Docker Hub
   - Smart tagging strategy:
     - Main branch: `version-SHA` + `latest`
     - Version tags: semantic version + `latest`
   - Test results and coverage reports as artifacts
   
   **Documentation:**
   - Comprehensive README updates with Docker setup guide
   - Integration instructions for Claude Desktop using Docker
   - FAQ explaining why Jib was chosen over Spring Boot Buildpacks
   - Publishing instructions for both Docker Hub and GHCR
   
   ### Why Jib over Buildpacks?
   
   Jib was chosen because Docker images built with Spring Boot Buildpacks output logs to stdout, which interferes with the MCP protocol's STDIO transport. The MCP protocol requires a clean stdout channel - any extraneous output causes connection errors with MCP clients like Claude Desktop.
   
   ### Test Plan
   
   - [x] JAR builds successfully with `./gradlew build`
   - [x] Docker image builds locally with `./gradlew jibDockerBuild`
   - [ ] GitHub Actions workflow runs successfully (will run after PR creation)
   - [ ] Docker image can be pulled and run from GHCR
   - [ ] MCP server works correctly when run in Docker container with STDIO mode
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
For additional commands, e-mail: dev-help@solr.apache.org


Re: [PR] feat: add Docker support with Jib and GitHub Actions CI/CD [solr-mcp]

Posted by "adityamparikh (via GitHub)" <gi...@apache.org>.
adityamparikh commented on PR #4:
URL: https://github.com/apache/solr-mcp/pull/4#issuecomment-3449057028

   Closing this PR as it has been superseded by two cleaner PRs:
   
   - PR #5: Spotless code formatting (formatting changes only)
   - PR #6: Docker support with Jib (Docker-specific changes only)
   
   This separation makes the changes easier to review and maintains a cleaner git history.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
For additional commands, e-mail: dev-help@solr.apache.org


Re: [PR] feat: add Docker support with Jib and GitHub Actions CI/CD [solr-mcp]

Posted by "adityamparikh (via GitHub)" <gi...@apache.org>.
adityamparikh closed pull request #4: feat: add Docker support with Jib and GitHub Actions CI/CD
URL: https://github.com/apache/solr-mcp/pull/4


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
For additional commands, e-mail: dev-help@solr.apache.org