Hi team, I need to set some env variables (e.g. PATH/PYTHONPATH/LD_LIBRARY_PATH) in an image, but I cannot do so when building the docker image since their values are dynamically determined when building the image, and docker does not allow that. How can I source those env variables on a worker pod before
pyflyte-fast-execute
gets invoked? Or is there any other recommended way of doing this?
n
numerous-hamburger-7178
10/20/2022, 2:45 PM
I've had success doing symlinks dynamically using commands like find and then setting the env variables to the named symlinks inside the dockerfile