【Feat】Automate Docker Image Builds with GitHub Actions#2466
【Feat】Automate Docker Image Builds with GitHub Actions#2466QwertyJack wants to merge 2 commits intoanthropics:mainfrom
Conversation
|
@ant-kurt pls |
|
@QwertyJack thanks for creating this PR - we're talking over a few things internally and have not forgotten this! |
fcf39a3 to
81e8547
Compare
Build and push devcontainer docker image to ghcr.io
- Add support for linux/amd64 and linux/arm64 platforms - Include main and latest tags for improved container distribution 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
|
Hi - we're not currently planning to officially support a published devcontainer image right now, and if we did it would likely not be one for the Node.js toolchain specifically. We may revisit this decision in the future; note that if we were to publish images, they would likely be derived from the well-known prebuilt devcontainer images. Thank you for creating this and please keep the feedback coming regarding devcontainers (and Claude Code generally). |
Claude Code's native --transport sse command has a bug where the OAuth flow completes successfully but the connection fails to reconnect afterwards (see anthropics/claude-code#2466). Documentation changes: - README: Add warning and mcp-remote workaround for Claude Code - docs/setup.md: Add Claude Code section with workaround - docs/troubleshooting.md: Add dedicated section for this issue Server changes (src/index.ts): - Add MCP OAuth spec-compliant endpoints for mcp-remote compatibility - Add /.well-known/oauth-protected-resource (RFC9728) - Add /authorize, /token, /oauth/register endpoints - Add Bearer token validation on /sse endpoint - These changes enable mcp-remote to work as the workaround
|
Hi, @QwertyJack! I have implemented automatic rebuilding of devcontainer images, thanks to your PR which inspired me. The image is updated automatically without any changes to the original Dockerfile, every time a .devcontainer is released or when a new version of Claude Code is released (checked once a day). Until Anthropic starts official support, I decided to automate the build for all enthusiasts. https://github.com/pravorskyi/claude-code-devcontainer Example how it can be used: |
Description:
This PR introduces a new GitHub Actions workflow to automate the Docker image build process. This workflow is configured to automatically trigger whenever the branch is updated, ensuring that a fresh Docker image is built for the latest code.
Key Changes:
.github/workflows/docker-build.ymlor similar) has been added.pushevents to the branch, providing continuous integration for Docker image creation.Benefits:
How to Test:
Push a new commit to this branch, and observe the GitHub Actions tab to confirm the workflow is triggered and completes successfully.
Related Issues: NA