Lock Files #237
Replies: 1 comment
-
|
Adding to this, currently there are 3 ways to opt in to create a new
At the same time, there are 3 ways to upgrade an existing
But there is only 1 way to enforce
I'm not sure how feasible it is at the moment to stabilize the naming of this feature by:
Although they all have Adding some thoughts to this after using Dev Containers myself since inception, maybe could help with the transitions mentioned above. All the ways listed at the top to create/upgrade/enforce One of the big reasons people love Docker is due to its property of reproducible builds, and I think this applies to us folks who use and love Dev Containers as well. Hence I think we need a declarative way that can be committed and shared, to tell Hence I would suggest the addition of the following properties to
Note that The reason there are so many conditions above is to maintain the backward compatibility of:
On how the addition of
Just some thoughts and suggestions off my head. Reference: https://mise.jdx.dev/dev-tools/mise-lock.html Some of the ideas mentioned above are inspired by
Although the lockfile mechanism of |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Dev container lock files (
devcontainer-lock.json) were introduced as an experimental feature in 2023. What is the current status? The images repo uses the lock file feature, but I don't see documentation on it and I'm curious if this is still a planned feature or if something else is coming.It exists in the spec, but it is implemented as an experimental feature in the cli as the
--experimental-lockfileargument and as an experimental feature in VS Code:dev.containers.experimentalLockfile.Beta Was this translation helpful? Give feedback.
All reactions