You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To fully support #68, we need a way to access all the relevant devcontainer configuration inside a workspace.
This also ties into #128 because currently no devcontainer information is built into the final image. That means that starting a workspace from a cached image won't have any files present from devcontainer features.
There are two options:
Have envbuilder store a computed devcontainer.json in a well-known location
Option 1 has merit as a simple way of informing coder modules where to look for the configuration. Stored as part of the final image, it would make the configuration immutable until the image is rebuilt.
Option 2 has merit as a drop-in replacement for @devcontainer/cli and the behavior can be tweaked by the user. However, this may not guarantee feature immutability.
Option 1 seems like the most straightforward option at this time.
The text was updated successfully, but these errors were encountered:
To fully support #68, we need a way to access all the relevant devcontainer configuration inside a workspace.
This also ties into #128 because currently no devcontainer information is built into the final image. That means that starting a workspace from a cached image won't have any files present from devcontainer features.
There are two options:
devcontainer.json
in a well-known locationenvbuilder read-configuration
(Addread-configuration
subcommand to output a merged devcontainer configuration #210) to download features and inspect their configurationOption 1 has merit as a simple way of informing coder modules where to look for the configuration. Stored as part of the final image, it would make the configuration immutable until the image is rebuilt.
Option 2 has merit as a drop-in replacement for
@devcontainer/cli
and the behavior can be tweaked by the user. However, this may not guarantee feature immutability.Option 1 seems like the most straightforward option at this time.
The text was updated successfully, but these errors were encountered: