-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve documentation of dev container image prebuild and update templates #261
Improve documentation of dev container image prebuild and update templates #261
Comments
.... prebuilding should probably call out whether the intent is to pre-build the current devcontainer, or a base image for children devcontainers. This is important because often what people want to do (for non-codespaces environments) is pre-build the "current" devcontainer, but there currently isn't a completely supported way to do that, in that;
|
I'm kind of struggling with this right now devcontainers/template-starter#26 and pre-building and uploading the (base-)template is the solution, it seems. More elaborate documentation would be welcome (using devcontainer-ci?), but also ideally an extra github action in the template-starter repo to build and (all) upload the template(s) in the repo... |
Many developers want to understand how to enable the reuse of an existing container image each time a session is started, as opposed to rebuilding the container from scratch so that:
We documentation prebuilding dev container images, but none of our templates illustrate good practices for this, and the documentation is a but buried.
I propose that we create a guide that describes how to decide if you need to prebuild, walk through the mechanics on GitHub with Actions and GHCR, and provides a few good examples.
It would also help if we update the templates where a prebuilt image would help to illustrate the pattern.
The text was updated successfully, but these errors were encountered: