Skip to content

[Packaging] Add Debian 11 Bullseye support - #19370

Merged
Jiashuo Li (jiasli) merged 1 commit into
Azure:devfrom
jiasli:bullseye
Aug 31, 2021
Merged

[Packaging] Add Debian 11 Bullseye support #19370
Jiashuo Li (jiasli) merged 1 commit into
Azure:devfrom
jiasli:bullseye

Conversation

@jiasli

Copy link
Copy Markdown
Contributor

Description

Fix#19326, #18654, and possibly #18895, #18804, #18798, #16783

Debian releases and their life cycle can be found at

Similar to #19367, we need to support Debian 11 Bullseye, otherwise the buggy unofficial Azure CLI from https://packages.debian.org/bullseye/azure-cli will be installed.

@jiasli

Copy link
Copy Markdown
ContributorAuthor

debian:bullseye has libssl1.1 installed by default.

$ docker run --rm debian:bullseye /usr/bin/apt list --installed | grep libssl
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
libssl1.1/now 1.1.1k-1 amd64 [installed,local]

So no need to add bullseye to

case${DISTRO}in
bionic|buster|focal|groovy) apt install -y libssl1.1;;

@jiasli

Copy link
Copy Markdown
ContributorAuthor

As Python's docker image is now based on Bullseye (docker-library/python#633), this makes Bullseye support more necessary.

@Chuxel

Copy link
Copy Markdown

Jiashuo Li (@jiasli) In addition, the debian, golang, ruby, php, buildpack-deps and more images have moved. There's great interest in agressivley moving to bullseye due to a segfault in Debian 10/buster on M1 macs.

While a workaround script could unblock, the Docker ecosystem moves quickly and doing so feels pretty iffy TBH.

@jiasli

Copy link
Copy Markdown
ContributorAuthor

We only release packages for AMD64. The bundled Python is for AMD64.

M1 is not one of the supported architecture, including ARM64. It is very likely even if we release a package for bullseye, running the packaging on M1 Macs will fail. In such case, pip install is the only solution.

@jiasli

Copy link
Copy Markdown
ContributorAuthor

Debian 11 Bullseye support will be release in Azure CLI 2.28.0 on 09/07/2021.

@jiasli

Copy link
Copy Markdown
ContributorAuthor

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Problem with acr login in debian bullseye

5 participants

@jiasli@Chuxel@evelyn-ys@calvinhzy@yonzhan