Skip to content
This repository has been archived by the owner on Mar 21, 2022. It is now read-only.

Commit

Permalink
Fix PATHs for libcuda.so on runtime.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hidenori MATSUKI authored and Hidenori MATSUKI committed Nov 29, 2017
1 parent 1ffe1cb commit 8d873cd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions 9.0/devel-cv/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,10 @@ RUN : 'OpenCV: Install numpy before build' \
&& : 'Clean up' \
&& rm -rf /opencv.tar.gz /opencv /opencv_contrib.tar.gz /opencv_contrib /openmpi.tar.gz /openmpi

ENV LD_LIBRARY_PATH=/usr/local/lib:/usr/lib64:$LD_LIBRARY_PATH
ENV CPATH=/usr/local/include:$CPATH
ENV CUDA_PATH=/usr/local/cuda
ENV PATH=$CUDA_PATH/bin:$PATH
ENV CPATH=$CUDA_PATH/include:$CPATH
ENV LD_LIBRARY_PATH=$CUDA_PATH/lib64:$CUDA_PATH/lib:$LD_LIBRARY_PATH
ENV CPATH=$CUDA_PATH/include:/usr/local/include:$CPATH
ENV LD_LIBRARY_PATH=$CUDA_PATH/lib64:$CUDA_PATH/lib64/stubs:/usr/local/lib:$LD_LIBRARY_PATH

RUN : 'Install Chainer' \
&& pip3 install cupy==${DOCKERBUILD_CUPY_VERSION} chainer==${DOCKERBUILD_CHAINER_VERSION} chainermn
Expand Down

0 comments on commit 8d873cd

Please sign in to comment.