mirror of
https://github.com/facebookresearch/faiss.git
synced 2025-06-03 21:54:02 +08:00
Summary: Pull Request resolved: https://github.com/facebookresearch/faiss/pull/1486 Reviewed By: wickedfoo Differential Revision: D24493486 Pulled By: beauby fbshipit-source-id: 00156213061503ff593b2e9ede062850b23527a9
12 lines
421 B
Docker
12 lines
421 B
Docker
FROM cimg/base:stable-20.04
|
|
|
|
# Install python3, swig, and MKL.
|
|
RUN sudo apt-get update && \
|
|
sudo apt-get install -y python3-dev python3-pip swig libmkl-dev
|
|
|
|
# Install recent CMake.
|
|
RUN wget -nv -O - https://github.com/Kitware/CMake/releases/download/v3.17.1/cmake-3.17.1-Linux-x86_64.tar.gz | sudo tar xzf - --strip-components=1 -C /usr
|
|
|
|
# Install numpy/scipy/pytorch for python tests.
|
|
RUN pip3 install numpy scipy torch
|