If you use a custom image for the Prefect agent and you modify PATH env var in the Dockerfile, do Prefect agent deployments respect that at runtime?
That is, let’s say that you installed a venv / virtualenv / conda, and you activated the environment from your Dockerfile just before calling the agent’s entrypoint. Is it guaranteed that any Prefect deployment will inherit this environment with all the changes I did to PATH and LD_LIBRARY_PATH, or does Prefect agent discard my custom changes?
Ofir
03/07/2023, 7:52 PM
I think it’s a python-poetry issue that doesn’t appreciate the fact that Prefect agent switches to a temporary working directory during runs.
Ofir
03/07/2023, 7:52 PM
The road to integrating different components is paved with good intentions.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.