Choose specific tag for avoiding error
Choose specific tag for avoiding error from master branch
Fix typo
@@ -2,7 +2,7 @@ FROM ann-benchmarks
RUN apt-get update && apt-get install -y libopenblas-base libopenblas-dev libpython-dev python-numpy python-pip
RUN git clone https://github.com/facebookresearch/faiss lib-faiss
-RUN cd lib-faiss && cp example_makefiles/makefile.inc.Linux makefile.inc && make -j4 py BLASLDFLAGS=/usr/lib/x86_64-linux-gnu/libopenblas.so.0
+RUN cd lib-faiss && git checkout tags/v1.2.1 -b lib-faiss && cp example_makefiles/makefile.inc.Linux makefile.inc && make -j4 py BLASLDFLAGS=/usr/lib/x86_64-linux-gnu/libopenblas.so.0
ENV PYTHONPATH lib-faiss
# faiss doesn't work with python3 afaik
