Skip to content

[Azure CLI] - Support debian trixie #1474

@lucasfijen

Description

@lucasfijen

With MS devcontainers being update to debian trixie, it would be nice to add support for trixie in the azure CLI devcontainer feature.
Currently it seems to silently fail to install the Azure CLI during build.

The only related logging I could find in the build logs was:

 1 warning found (use docker --debug to expand):
 - InvalidDefaultArgInFrom: Default value for ARG $BASE_IMAGE results in empty or invalid base image name (line 2)

How to reproduce?

{
	"name": "utilities devcontainer",
	"image": "mcr.microsoft.com/devcontainers/python:2-3.13",

	"features": {
		"ghcr.io/devcontainers/features/azure-cli:1.2.7": "2.77.0"
	}
}

Then run az login -> bash: az: command not found

But using the older debian built succeeds:

{
	"name": "utilities devcontainer",
	"image": "mcr.microsoft.com/devcontainers/python:1-3.13",

	"features": {
		"ghcr.io/devcontainers/features/azure-cli:1.2.7": "2.77.0"
	}
}

az login succeeds

So two things might be nice here,

  • support for Trixie would be nice,
  • Raise error instead of warning on failed install, so that our CI pipelines can capture this.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions