i am using ubuntu as base image instead prefect in...
# ask-community
a
i am using ubuntu as base image instead prefect in docker file (for storing custom modules) and for that i need to install all the dependencies for prefect which i am trying to do with prefect[all_extras] but but fails with the error
The command '/bin/sh -c pip install "prefect[all_extras]"' returned a non-zero code: 1
a
do you need all extras for a production image on GCP? in general, the all_extras will install libraries for all clouds and tasks in the task library. Maybe you can change it to GCP only? It could be that some dependencies of some extras caused conflicts with your custom dependencies
Copy code
RUN pip install "prefect[gcp]"
a
yeah this is what i tired now
RUN pip install "prefect[dev,templates,viz,kubernetes,google,github]"
i included github as my flow is stored on github
👍 1
k
This is because the latest pip version has a dependency resolver and the azure libraries are impossible to resolve because they have no many conflicting versions. You can lower your pip version as well.
👍 1