Skip to content

Fix dev container creation by switching to working feature sources - #54

Merged
hzhangxyz merged 3 commits into
mainfrom
copilot/fix-dev-container-creation-error
Nov 28, 2025
Merged

Fix dev container creation by switching to working feature sources#54
hzhangxyz merged 3 commits into
mainfrom
copilot/fix-dev-container-creation-error

Conversation

Copilot AI commented Nov 28, 2025

Copy link
Copy Markdown
Contributor
  • Update devcontainer.json to fix container creation issues:
    • Change base image from ubuntu to debian
    • Update cmake feature from ghcr.io/devcontainers/features/cmake:1 to ghcr.io/devcontainers-extra/features/cmake:1
    • Add uv feature ghcr.io/gvatsal60/dev-container-features/uv:0 with version: latest
    • Add emscripten feature ghcr.io/ebaskoro/devcontainer-features/emscripten:1 with version: latest
  • Update post-create.sh to remove manual installation steps (uv and emscripten are now handled by features)
  • Review and verify changes
Original prompt

This section details on the original issue you should resolve

<issue_title>dev container 创建失败</issue_title>
<issue_description></issue_description>

<agent_instructions>1. cmake的feature应该是 ghcr.io/devcontainers-extra/features/cmake:1
2. uv可以使用 ghcr.io/gvatsal60/dev-container-features/uv:0
3. 请使用debian做基础
4. 有个emscripten的feature叫 ghcr.io/ebaskoro/devcontainer-features/emscripten:1</agent_instructions>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

- Change base image from ubuntu to debian
- Update cmake feature to ghcr.io/devcontainers-extra/features/cmake:1
- Add uv feature ghcr.io/gvatsal60/dev-container-features/uv:0
- Add emscripten feature ghcr.io/ebaskoro/devcontainer-features/emscripten:1
- Simplify post-create.sh by removing manual uv/emscripten installation

Co-authored-by: hzhangxyz <11623447+hzhangxyz@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix dev container creation failure Fix dev container creation by switching to working feature sources Nov 28, 2025
Copilot AI requested a review from hzhangxyz November 28, 2025 11:55
@hzhangxyz

Copy link
Copy Markdown
Member

@copilot "version": "latest" 没有给加的那个uv和emscripten么?为啥不加?

Co-authored-by: hzhangxyz <11623447+hzhangxyz@users.noreply.github.com>

Copilot AI commented Nov 28, 2025

Copy link
Copy Markdown
Contributor Author

@copilot "version": "latest" 没有给加的那个uv和emscripten么?为啥不加?

Added "version": "latest" for uv and emscripten features in 13d167c.

@hzhangxyz
hzhangxyz marked this pull request as ready for review November 28, 2025 11:58
@hzhangxyz
hzhangxyz merged commit 87ab48e into main Nov 28, 2025
77 checks passed
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.

dev container 创建失败

2 participants