#5046 [Core feature] Support multiple index-urls in ImageSpec
Issue created by
cjidboon94
Motivation: Why do you think this is important?
Sometimes we require to install multiple private python packages or packages that require a specific version that can only be found if an index url is provided (like older torch versions). When you need both of these, you are required to list multiple index-urls
Goal: What should the final outcome look like, ideally?
Currently ImageSpec takes only 1 specific index-url as its argument. This could optionally be list of index-urls instead.
Describe alternatives you've considered
Building a base image with some of these packages installed could be an intermediate fix but it would be really nice to just let the ImageSpec interface handle all of it.
Propose: Link/Inline OR Additional context
No response
Are you sure this issue hasn't been raised already?
☑︎ Yes
Have you read the Code of Conduct?
☑︎ Yes
flyteorg/flyte