-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[Packaging] Release Docker image based on Azure Linux 3.0 #29769
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
Conversation
️✔️AzureCLI-FullTest
|
|
Hi @bebound, |
️✔️AzureCLI-BreakingChangeTest
|
|
Packaging |
| org.label-schema.usage="https://learn.microsoft.com/en-us/cli/azure/run-azure-cli-docker" \ | ||
| org.label-schema.build-date=$BUILD_DATE \ | ||
| org.label-schema.vcs-url="https://github.com/Azure/azure-cli.git" \ | ||
| org.label-schema.docker.cmd="docker run -v \${HOME}/.azure:/root/.azure -it mcr.microsoft.com/azure-cli:$CLI_VERSION-azure" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
label-schema was introduced in #4696
Remove it because label-schema is deprecated now.
8eade26 to
d7263e0
Compare
| # Metadata as defined at http://label-schema.org | ||
| ARG BUILD_DATE | ||
|
|
||
| LABEL maintainer="Microsoft" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These labels can be retrieved with
> docker image inspect mcr.microsoft.com/azure-cli:cbl-mariner2.0
...
"Labels": {
"maintainer": "Microsoft",
"org.label-schema.build-date": "2024-07-31T04:00:29Z",
"org.label-schema.description": "A great cloud needs great tools; we're excited to introduce Azure CLI, our next generation multi-platform command line experience for Azure.",
"org.label-schema.docker.cmd": "docker run -v ${HOME}/.azure:/root/.azure -it mcr.microsoft.com/azure-cli:2.63.0-azure",
"org.label-schema.license": "MIT",
"org.label-schema.name": "Azure CLI",
"org.label-schema.schema-version": "1.0",
"org.label-schema.url": "https://docs.microsoft.com/cli/azure/overview",
"org.label-schema.usage": "https://learn.microsoft.com/en-us/cli/azure/run-azure-cli-docker",
"org.label-schema.vcs-url": "https://github.com/Azure/azure-cli.git",
"org.label-schema.vendor": "Microsoft",
"org.label-schema.version": "2.63.0"
}
...
See #4774
| --build-arg BUILD_DATE="`date -u +"%Y-%m-%dT%H:%M:%SZ"`" \ | ||
| --build-arg CLI_VERSION=$CLI_VERSION \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These arguments are merely used in labels, not in the actual build process.
Azure Linux 3.0 was GA on 07/31/2024
Ref: https://mcr.microsoft.com/en-us/product/azurelinux/base/core/about