Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release APK package for Alpine Linux #24872

Open
jiasli opened this issue Dec 12, 2022 · 4 comments
Open

Release APK package for Alpine Linux #24872

jiasli opened this issue Dec 12, 2022 · 4 comments
Assignees
Labels
Azure CLI Team The command of the issue is owned by Azure CLI team feature-request Packaging
Milestone

Comments

@jiasli
Copy link
Member

jiasli commented Dec 12, 2022

Question. Is there not an alpine az-cli that you can just apk add to the image?

Originally posted by @hholst80 in #19591 (comment)

@jiasli
Copy link
Member Author

jiasli commented Dec 12, 2022

We currently don't release APK package for Alpine Linux.

However, the official Azure CLI docker image is built upon Alpine Linux. We recommend using it whenever possible. You may also take the Dockerfile as a reference.

To install Azure CLI with pip from PyPI on Alpine Linux, please see #19591.

@yonzhan yonzhan added Azure CLI Team The command of the issue is owned by Azure CLI team Packaging labels Dec 12, 2022
@yonzhan yonzhan added this to the Backlog milestone Dec 12, 2022
@andrei-dascalu
Copy link

+1 here for having an official apk.
An official separate Docker image is nice but there are many cases when we need to also have azure-cli as part of an image containing multiple tools.

@Anonymous-Coward
Copy link

I believe there's a good reason to prioritize this regardless of the votes. This issue isn't readily found when searching for installing az on alpine - instead, the installation instructions are found. Not everybody has the patience, motivation or time to read through the whole thread of comments there, to get a link to this issue.

Nevertheless, while debian- and redhat-based images may be used more frequently overall for production workloads of all kinds, I believe alpine is used overwhelmingly for periodic jobs, automatic script execution and all sorts of other infrastructure and operations related tasks. This overlaps to a large extent with where az is used too. Therefore, providing an .apk package would probably be a lot more useful than providing .rpm and .deb packages for the specific people who need to script az, not just run it manually from a VM inside Azure or from their local machine.

@simon-eon
Copy link

+1 docker image is not alpine based anymore!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure CLI Team The command of the issue is owned by Azure CLI team feature-request Packaging
Projects
None yet
Development

No branches or pull requests

5 participants