-
Notifications
You must be signed in to change notification settings - Fork 371
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
Add support for Alpine to python
feature
#1015
base: main
Are you sure you want to change the base?
Conversation
… package source file
note: the `addgroup` arguments are in a different order than `groupadd`
need to add another clause to handle Alpine; this simplifies the logic for handling both cases
…talled); refactor test script names to remove major version suffix (since it isn't specified in the associated image tag)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing to see the Alpine support added for Python, thank you ✨
note: this change could apply across multiple tests, if desired
`bash` will be installed via "common-utils" feature, so it's not necessary to start from the MCR alpine base image
`bash` will be installed via "common-utils" feature, so it's not necessary to start from the MCR alpine base image
Reduce additional version check/s to only include 3.10 (to save time on testing at the expense of coverage, which we get elsewhere) Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com>
- specify exact alternate version: 3.10.5 - remove checks for 3.8,3.9.13 (now OBE)
…he base image build isn't clean recent version of python:3.12 broke the install test because the APT cache wasn't clean
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe the build issue should be fixed -- I think it was a stale caching issue in non-alpine Python images. But I'm having issues running the tests locally, so it's hard to say if the full suite is currently passing.
this is only necessary for distributions like alpine which have a (busybox) shim the previous `--upgrade` flag was not compatible with all package managers; given that alpine does not have the package installed, it can be installed through the `check_packages()` function
This PR introduces support of Alpine Linux to the
python
dev container feature.