File "run.py", line 4, in <module> from cv2 import cvtColor, COLOR_RGB2GRAY File "/srv/conda/lib/python3.6/site-packages/cv2/__init__.py", line 3, in <module> from .cv2 import * ImportError: libXrender.so.1: cannot open shared object file: No such file or directory
The docker builds successfully, but when I run the agent, I get this error. I looked up this error, and it seems like this error has to be fixed by running
sudo apt-get install -y libxrender-dev
Is there a way to get this line into docker build?