-
Feature Request
-
Resolution: Unresolved
-
Undefined
-
None
-
2.1, 2.2
-
None
-
False
-
-
False
Feature Overview
Customer would like the ability to specify an internal python module repository to be used by ansible-builder. There are different ways to specify an internal repository. One of the ways is to include the following at the top of the `requirements.txt` file.
--index-url https://pypi.example.org/
Another way is to use the `PIP_OPTS` environment variable. Regardless, the customer would like some way to download pip packages from an internal repository.
Background, and strategic fit
There are currently a few open Github Issues on this topic but the links below are the main one related to this feature request. This RFE is being created based on a customer case.
- https://github.com/ansible/ansible-builder/issues/319 (Private python requirements impossible to install due to outdated requirements-parser)
- https://github.com/ansible/ansible-builder/issues/211 (Support PIP_OPTs for python-builder-image)
(Optional) Use Cases
Typically, this feature would be used by customers that do not have the ability to access public repositories such as pypi.org. The reason for this varies but it mostly relates to not exposing many internal systems to the internet. In this case, the customer would setup an internal repository to store public and private packages. Other internal systems would then download from this internal repository.
Assumptions
None at the moment.
Out of Scope
None at the moment.