aks-engine/releases
Jack Francis 4a532bc521
ci: v0.64.0 changelog (#4453)
2021-06-10 16:35:12 -07:00
..
CHANGELOG-v0.64.0.md ci: v0.64.0 changelog (#4453) 2021-06-10 16:35:12 -07:00
Dockerfile.linux build: add "build-container" target (#698) 2019-03-11 09:47:21 -06:00
README.Dockerfile.md docs: remove mentions of old orchestrators (#2501) 2019-12-26 14:04:42 -05:00

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