Replies: 4 comments
-
|
Beta Was this translation helpful? Give feedback.
-
"features": {
"ghcr.io/devcontainers/features/github-cli:1": {}
} So, my guess - we could simplify Dockerfile anyway. That's the beauty of dev container - Microsoft have done most of the work already. =)
Also try to keep devcontainer.json itself very simplistic and base it on a pre-build with all the features, extensions, etc. That reduces the Codespace / dev container build time significantly. Image, tokens, host requirements, postCreate and workspace mount are the only things to be present in an ideal devcontaine.json - the rest comes from pre-build image. |
Beta Was this translation helpful? Give feedback.
-
The reason I moved from using the
|
Beta Was this translation helpful? Give feedback.
-
Maybe pre-build a base container fist and do competitions in a simple dev container based on a pre-build image. |
Beta Was this translation helpful? Give feedback.
-
Starting this thread to discuss Codespaces and dev containers build.
Beta Was this translation helpful? Give feedback.
All reactions