[PoC] Allow to skip ensurepip; make package manager use more flexible#543
[PoC] Allow to skip ensurepip; make package manager use more flexible#543felixfontein wants to merge 3 commits intoansible:develfrom
Conversation
On Debian this breaks the build as ensurepip has been actively disabled.
|
I ran this with: ansible-builder build --tag test-ee --container-runtime docker --verbosity 3
ansible-navigator run -vv --mode stdout --ce docker --eei test-ee:latest test.ymlwhere test.yml is a minimal playbook. |
|
If it's better to split this up into two separate PRs, please tell me. |
|
Yep, I suspected we weren't too far off, but I'd explicitly avoided trying to make this work because it has a much bigger blast radius than "look ma, Debian base image!" 😆 Captured some stream-of-consciousness ideas for discussion at #553... |
|
What's the status on this? Edit: I see now that there's an environment variable that can be set and an option to skip ensurepip was added to devel #627, but somehow was not included in 3.0.1 release. Still, this PR adds a lot of desirable flexibility besides the ensurepip issue. |
|



This allows to create a Debian based execution environment:
I've tried this with requirements.yml:
and got a nice Debian Bullseye based EE having these three collections. (community.sops installs
gnupgvia bindep; community.docker installs some Python dependencies; community.crypto installs both Python and binary dependencies.)