【发布时间】:2021-06-14 01:12:57
【问题描述】:
我正在尝试使用 Github 代码空间打开 this 存储库。请注意,此存储库是 correctly configured 用于本地 devcontainer 开发。
但是,当我尝试在 CodeSpaces 中打开它时,它似乎可以正确构建容器,但失败并显示:Could not detect any language/platform in the source directory(完整日志here)
我错过了什么?
【问题讨论】:
-
与另一个 repo 相同的问题。 Oryx 错误消息来自这里:github.com/microsoft/Oryx/blob/…,但我不明白为什么无法检测到平台
-
尝试使用 MCR 基础镜像而不是来自 Docker Hub 的库存
ubuntu镜像,例如mcr.microsoft.com/vscode/devcontainers/base:bionic. -
@BerkantIpek 但是为什么呢?我很想了解发生了什么,而不仅仅是使用与我的工作流程不兼容的基础图像。
标签: vscode-devcontainer codespaces