Skip to content

[Packaging] Add Debian 11 Bullseye support #19370

Merged
jiasli merged 1 commit intoAzure:devfrom
jiasli:bullseye
Aug 31, 2021
Merged

[Packaging] Add Debian 11 Bullseye support #19370
jiasli merged 1 commit intoAzure:devfrom
jiasli:bullseye

Conversation

@jiasli
Copy link
Member

@jiasli jiasli commented Aug 27, 2021

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
Member Author

jiasli commented Aug 27, 2021

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;;

@yonzhan yonzhan requested a review from evelyn-ys August 27, 2021 07:57
@yonzhan yonzhan added this to the Aug 2021 (2021-09-07) milestone Aug 27, 2021
@jiasli
Copy link
Member Author

jiasli commented Aug 31, 2021

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

@Chuxel
Copy link

Chuxel commented Aug 31, 2021

@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
Member Author

jiasli commented Sep 1, 2021

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
Member Author

jiasli commented Sep 2, 2021

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

@jiasli
Copy link
Member Author

jiasli commented Sep 8, 2021

Sign up for free to 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