You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So far the argument pip_index_urls is used only for lightweight python component. But when target_image is provided and therefore containerized python component can be generated with kfp component build, the argument is not considered - it is not a part of generated Dockerfile.
This is something that could be relatively easily (I think) implemented and I'd be happy to give it a try if there's interest.
What is the use case or pain point?
Similarly as with lightweight python component, one might be using internal pypi index for internal libraries to be used in containerized components.
Is there a workaround currently?
Yes. After running kfp component build modify generated Dockerfile (add --extra-index-url to the pip line), run docker build directly from commandline (not using kfp anymore) and then push the image.
Love this idea? Give it a 👍.
The text was updated successfully, but these errors were encountered:
Feature Area
/area sdk
/area components
What feature would you like to see?
So far the argument
pip_index_urls
is used only for lightweight python component. But whentarget_image
is provided and therefore containerized python component can be generated withkfp component build
, the argument is not considered - it is not a part of generated Dockerfile.This is something that could be relatively easily (I think) implemented and I'd be happy to give it a try if there's interest.
What is the use case or pain point?
Similarly as with lightweight python component, one might be using internal pypi index for internal libraries to be used in containerized components.
Is there a workaround currently?
Yes. After running
kfp component build
modify generated Dockerfile (add --extra-index-url to the pip line), run docker build directly from commandline (not usingkfp
anymore) and then push the image.Love this idea? Give it a 👍.
The text was updated successfully, but these errors were encountered: