-
Notifications
You must be signed in to change notification settings - Fork 10
Add Azure Linux base image API. #483
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
Merged
+845
−58
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
5092ac8
Add Azure Linux base image API.
cwize1 3eeeb21
Fix schema.json
cwize1 5773c00
Fix docs
cwize1 b2c188a
Feedback updates
cwize1 0b328b5
Feedback updates
cwize1 22b1caa
Fix docs
cwize1 63744b1
Feedback updates
cwize1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,70 @@ | ||
| --- | ||
| parent: Configuration | ||
| ancestor: Image Customizer | ||
| --- | ||
|
|
||
| # azureLinuxImage type | ||
|
|
||
| Specifies an Azure Linux image to be used as the base image. | ||
|
|
||
| This feature is in preview and may be subject to breaking changes. | ||
| You may enable this feature by adding `input-image-oci` to the | ||
| [previewfeatures](../configuration/config.md#previewfeatures-string) API. | ||
|
|
||
| Example: | ||
|
|
||
| ```yaml | ||
| previewFeatures: | ||
| - input-image-oci | ||
|
|
||
| input: | ||
| image: | ||
| azureLinux: | ||
| variant: minimal-os | ||
| version: 3.0 | ||
| ``` | ||
|
|
||
| The Azure Linux images are downloaded from the | ||
| [Microsoft Artifact Registry](https://mcr.microsoft.com) (MCR). | ||
|
|
||
| The URI used is: | ||
|
|
||
| | Version | URI | | ||
| | ------------ | --------------------------------------------------------------- | | ||
| | 2.0 | mcr.microsoft.com/azurelinux/2.0/image/`<VARIANT>`:latest | | ||
| | 3.0 | mcr.microsoft.com/azurelinux/3.0/image/`<VARIANT>`:latest | | ||
| | 2.0.`<DATE>` | mcr.microsoft.com/azurelinux/2.0/image/`<VARIANT>`:2.0.`<DATE>` | | ||
| | 3.0.`<DATE>` | mcr.microsoft.com/azurelinux/3.0/image/`<VARIANT>`:3.0.`<DATE>` | | ||
|
|
||
| The list of Azure Linux image versions is available on MCR. | ||
| For example: the | ||
| [Azure Linux 3.0 minimal-os versions](https://mcr.microsoft.com/en-us/artifact/mar/azurelinux/3.0/image/minimal-os/tags). | ||
|
|
||
| Added in v1.1. | ||
|
|
||
| ## version [string] | ||
|
|
||
| Specifies the version of the Azure Linux image to use as the base image. | ||
|
|
||
| This value is required. | ||
|
|
||
| Supported values include: | ||
|
|
||
| - `2.0` | ||
| - `3.0` | ||
| - `2.0.<DATE>` (e.g. `2.0.20251010`) | ||
| - `3.0.<DATE>` (e.g. `3.0.20250910`) | ||
|
|
||
| Added in v1.1. | ||
|
|
||
| ## variant [[ociPlatform](ociplatform.md)] | ||
|
|
||
| Specifies the variant of the Azure Linux image to use as the base image. | ||
cwize1 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| This value is required. | ||
|
|
||
| Example values: | ||
|
|
||
| - `minimal-os` | ||
|
|
||
| Added in v1.1. | ||
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.