) to have the Docker Agent install packages in the docker container at runtime?
(Looking for something similar to Docker Storage's
python_dependencies
, but for runtime)
k
Kevin Kho
02/01/2022, 5:31 PM
If you are using the default Prefect base image, use EXTRA_PIP_PACKAGES and the entrypoint will install it. It’s not preferable though because you install each time compared to having it in the image.
m
Madhup Sukoon
02/01/2022, 5:34 PM
Thanks. Does this Work for DockerRun too? (The link shows KubernetesRun, I only have docker agents)
k
Kevin Kho
02/01/2022, 5:36 PM
Yes it does because it’s the entrypoint of the Prefect image that has an entrypoint to grab this env var and use it
m
Madhup Sukoon
02/01/2022, 5:37 PM
Great! This is exactly what I was looking for. Thanks!
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.