using Docker storage, i am looking to create a cus...
# ask-community
m
using Docker storage, i am looking to create a custom base image which extends upon prefect base image just adding a few additional internal python packages… any examples out there? is there a different way you suggest
pip install
some internal dependencies that live within a private pypi registry?
z
Hi @Mitchell Bregman! I don’t think there are any examples of extending the base image but you should be able to just use the docker
FROM
directive to create your own image as you would expect. As far as using
pip install
to reference a private pypi registry — perhaps take a look at this gist https://gist.github.com/Jaza/fcea493dd0ba6ebf09d3#configure-pip-to-use-private-pypi or use the
--index-url
option https://pip.pypa.io/en/stable/reference/pip_install/#cmdoption-index-url
🎉 1
m
thank you! i had a similar line of thinking with regards to just extending and using
FROM
directive
b
You could build an image with your private packages and put that in a private registry (eg AWS ECR)... doing a private install from github is not super fun 😬