Skip to content

Commit 5555ae7

Browse files
authoredApr 7, 2019
Configure install paths in Dockerfile. (facebookresearch#772)
1 parent 7f5b22b commit 5555ae7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed
 

‎Dockerfile

+2-3
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,9 @@ COPY . /opt/faiss
2121
WORKDIR /opt/faiss
2222

2323
# --with-cuda=/usr/local/cuda-8.0
24-
RUN ./configure --without-cuda
24+
RUN ./configure --prefix=/usr --libdir=/usr/lib64 --without-cuda
2525
RUN make -j $(nproc)
2626
RUN make -C python
2727
RUN make test
2828
RUN make install
29-
RUN make -C demos demo_ivfpq_indexing && \
30-
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH ./demos/demo_ivfpq_indexing
29+
RUN make -C demos demo_ivfpq_indexing && ./demos/demo_ivfpq_indexing

0 commit comments

Comments
 (0)
Please sign in to comment.