-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Pass extra index url with build secrets #28430
Conversation
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contribution Guide (https://github.com/apache/airflow/blob/main/CONTRIBUTING.rst)
|
Thenks for kudos. Sorry for not responding before. I tnink however, that this is one is completely not needed. The image is multi-segment one. And The final image has only installed package binaries in /root/.local - no other information is stored. You can check it by using Provisionally closing that one unless there is something I do not understand.
|
Thanks for the review! I had thought this would be a problem based on this article but I overlooked the bit that said a work around was to use multi stage builds. In this particular case I guess it is indeed unneeded. |
Yeah. The buildkit |
Proposed approach to installing packages from a password-protected extra index URL without persisting in a built image. I could use help with building a test for this too (see TODO remarks). I'll try to add one when I have more time, but wanted to pitch the idea first. Thanks! 😄
Also many thanks and props to @potiuk for really cool work on the
Dockerfile
. I've learned a lot about the new features from this!References
related: #22492