FROM python:3
RUN wget https://s3-eu-west-1.amazonaws.com/download.agisoft.com/Metashape-1.7.0-cp35.cp36.cp37.cp38-abi3-linux_x86_64.whl
RUN python3 -m pip install Metashape-1.7.0-cp35.cp36.cp37.cp38-abi3-linux_x86_64.whl
SHELL ["/bin/bash", "-c"]
CMD 'python3'
Running `import Metashape` in the previously specified docker container results in
>>> import Metashape
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.9/site-packages/Metashape/__init__.py", line 3, in <module>
from .Metashape import *
ImportError: libGL.so.1: cannot open shared object file: No such file or directory