diff --git a/docker/Dockerfile b/docker/Dockerfile index 6ae0c8498..3701f6d5a 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -42,7 +42,7 @@ RUN python3.6 -m pip install pip --upgrade RUN python3.6 -m pip install wheel RUN python3.6 -m venv /petastorm_venv3.6 RUN /petastorm_venv3.6/bin/pip3.6 install --no-cache scikit-build -RUN /petastorm_venv3.6/bin/pip3.6 install --no-cache -e /petastorm/[test,tf,torch,docs,opencv] +RUN /petastorm_venv3.6/bin/pip3.6 install --no-cache -e /petastorm/[test,tf,torch,docs,opencv] --only-binary pyarrow --only-binary opencv-python RUN /petastorm_venv3.6/bin/pip3.6 uninstall -y petastorm # Set up Python3 environment @@ -50,7 +50,7 @@ RUN python3.7 -m pip install pip --upgrade RUN python3.7 -m pip install wheel RUN python3.7 -m venv /petastorm_venv3.7 RUN /petastorm_venv3.7/bin/pip3.7 install --no-cache scikit-build -RUN /petastorm_venv3.7/bin/pip3.7 install --no-cache -e /petastorm/[test,tf,torch,docs,opencv] +RUN /petastorm_venv3.7/bin/pip3.7 install --no-cache -e /petastorm/[test,tf,torch,docs,opencv] --only-binary pyarrow --only-binary opencv-python RUN /petastorm_venv3.7/bin/pip3.7 uninstall -y petastorm # Clean up