diff --git a/base/Dockerfile_ubuntu18.04_basic b/base/Dockerfile_ubuntu18.04_basic index a655d20..a72bac5 100644 --- a/base/Dockerfile_ubuntu18.04_basic +++ b/base/Dockerfile_ubuntu18.04_basic @@ -21,3 +21,11 @@ RUN conda install -y \ RUN /opt/conda/bin/python -m pip install --upgrade pip RUN pip install networkx RUN pip install termcolor + +RUN pip install mkl==2021.1.1 +RUN pip install opencv-python +RUN pip install opencv-contrib-python + +# opencv requires libgl1 +RUN apt-get update --fix-missing +RUN apt-get install -y libgl1-mesa-dev diff --git a/base/Dockerfile_ubuntu18.04_work b/base/Dockerfile_ubuntu18.04_work index f0158a1..b1e986f 100644 --- a/base/Dockerfile_ubuntu18.04_work +++ b/base/Dockerfile_ubuntu18.04_work @@ -33,3 +33,10 @@ RUN cd ${THIRDPARTY_REPOS} && \ -DCMAKE_BUILD_TYPE=Release && \ make -j$(nproc) && make install +RUN pip install mkl==2021.1.1 +RUN pip install opencv-python +RUN pip install opencv-contrib-python + +# opencv requires libgl1 +RUN apt-get update --fix-missing +RUN apt-get install -y libgl1-mesa-dev