зеркало из https://github.com/Azure/aks-engine.git
08de7dba4c
* release: v0.65.0 CHANGELOG * Update CHANGELOG-v0.65.0.md Co-authored-by: jackfrancis <jackfrancis@users.noreply.github.com> Co-authored-by: Jack Francis <jack.francis@microsoft.com> |
||
---|---|---|
.. | ||
CHANGELOG-v0.64.0.md | ||
CHANGELOG-v0.65.0.md | ||
Dockerfile.linux | ||
README.Dockerfile.md |
README.Dockerfile.md
Build Docker image
Bash
$ export VERSION=0.45.0
$ docker build --no-cache --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg AKSENGINE_VERSION="$VERSION" -t microsoft/aks-engine:$VERSION --file ./Dockerfile.linux .
PowerShell
PS> $VERSION="0.45.0"
PS> docker build --no-cache --build-arg BUILD_DATE=$(Get-Date((Get-Date).ToUniversalTime()) -UFormat "%Y-%m-%dT%H:%M:%SZ") --build-arg AKSENGINE_VERSION="$VERSION" -t microsoft/aks-engine:$VERSION --file .\Dockerfile.linux .
Inspect Docker image metadata
Bash
$ docker image inspect microsoft/aks-engine:0.45.0 --format "{{json .Config.Labels}}" | jq
{
"maintainer": "Microsoft",
"org.label-schema.build-date": "2019-12-23T20:37:06Z",
"org.label-schema.description": "The Azure Kubernetes Engine (aks-engine) generates ARM (Azure Resource Manager) templates for Kubernetes clusters on Microsoft Azure.",
"org.label-schema.docker.cmd": "docker run -v ${PWD}:/aks-engine/workspace -it --rm microsoft/aks-engine:0.45.0",
"org.label-schema.license": "MIT",
"org.label-schema.name": "Azure Kubernetes Engine (aks-engine)",
"org.label-schema.schema-version": "1.0",
"org.label-schema.url": "https://github.com/Azure/aks-engine",
"org.label-schema.usage": "https://github.com/Azure/aks-engine/blob/master/docs/aksengine.md",
"org.label-schema.vcs-url": "https://github.com/Azure/aks-engine.git",
"org.label-schema.vendor": "Microsoft",
"org.label-schema.version": "0.45.0"
}
PowerShell
PS> docker image inspect microsoft/aks-engine:0.45.0 --format "{{json .Config.Labels}}" | ConvertFrom-Json | ConvertTo-Json
{
"maintainer": "Microsoft",
"org.label-schema.build-date": "2019-12-23T20:37:06Z",
"org.label-schema.description": "The Azure Kubernetes Engine (aks-engine) generates ARM (Azure Resource Manager) templates for Kubernetes clusters on Microsoft Azure.",
"org.label-schema.docker.cmd": "docker run --rm microsoft/aks-engine:0.45.0",
"org.label-schema.license": "MIT",
"org.label-schema.name": "Azure Kubernetes Engine (aks-engine)",
"org.label-schema.schema-version": "1.0",
"org.label-schema.url": "https://github.com/Azure/aks-engine",
"org.label-schema.usage": "https://github.com/Azure/aks-engine/blob/master/docs/aksengine.md",
"org.label-schema.vcs-url": "https://github.com/Azure/aks-engine.git",
"org.label-schema.vendor": "Microsoft",
"org.label-schema.version": "0.45.0"
}
Run Docker image
$ docker run --rm microsoft/aks-engine:0.45.0