Repository navigation
Recreate lockfile with upgrade command - #645
Merged
Merged
Conversation
features entry of lockfile with features upgrade command
Christof Marti (chrmarti)
requested changes
Sep 26, 2023
joshspicer
requested review from
Christof Marti (chrmarti) and
Samruddhi Khandale (samruddhikhandale)
September 26, 2023 16:38
Christof Marti (chrmarti)
approved these changes
Sep 29, 2023
Christof Marti (chrmarti)
left a comment
Contributor
There was a problem hiding this comment.
Great, thanks!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Provides a way to programmatically regenerate the dev container lockfile without building the dev container or deleting the lockfile. This may be useful in CI scenarios where you'd like to programmatically upgrade a lockfile, and then build an image based on it.
Usage
$ devcontainer upgrade \ --workspace-folder /workspaces/project [4 ms] @devcontainers/cli 0.51.3. Node.js v16.20.0. linux 5.15.0-1041-azure x64. Upgrading lockfile... $ cat /workspaces/project/.devcontainer-lock.json { "features": { "ghcr.io/codspace/features/color:1.0.4": { "version": "1.0.4", "resolved": "ghcr.io/codspace/features/color@sha256:6e9d07c7f488fabc981e7508d8c25eea4b102ebe4b87f9fc6f233efa1d325908", "integrity": "sha256:6e9d07c7f488fabc981e7508d8c25eea4b102ebe4b87f9fc6f233efa1d325908" }, ... }