Skip to content

flag to the build command, skips persisting 'customizations' from referenced Features - #262

Merged
Christof Marti (chrmarti) merged 4 commits into
mainfrom
joshspicer/skip-persisting-customizations-in-metadata
Nov 2, 2022
Merged

Christof Marti (chrmarti) merged 4 commits into
mainfrom
joshspicer/skip-persisting-customizations-in-metadata

Conversation

@joshspicer

@joshspicer joshspicer commented Nov 1, 2022 •

Copy link
Copy Markdown
Contributor

Introduces a hidden flag --skip-persisting-customizations-from-features to the build command. If passed, the resultant image's metadata label will not include any of customizations offered by the included Feature(s) in the .devcontainer.json.

Note that this will NOT strip existing customizations from the base image.

image

image

@joshspicer
joshspicer marked this pull request as ready for review November 2, 2022 01:12
@joshspicer
joshspicer requested a review from a team as a code owner November 2, 2022 01:12

@chrmarti Christof Marti (chrmarti) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants