docker icon indicating copy to clipboard operation
docker copied to clipboard

duplicated pip install

Open taras-sereda opened this issue 9 years ago • 3 comments

Probably one pip install -r python/requirements.txt; is redundant.

line 98

RUN cd /opt/caffe && \
  (pip install -r python/requirements.txt; easy_install numpy; pip install -r python/requirements.txt) && \pip 

taras-sereda avatar Jun 11 '15 13:06 taras-sereda

That was put in intentionally, though the need for it may have been fixed in more recent versions of caffe. It will need to be tested, but unfortunately the docker image is no longer building with more recent versions of caffe, which will need to get first.

tleyden avatar Jun 11 '15 18:06 tleyden

Hi. I've played a little with your Docker file and created new version. it works fine for me with new caffe distribution. It's based on Ubuntu 14.04. Currently I've created only Docker file for cpu_based caffe. In case you may need it, here it is https://github.com/taras-sereda/docker_ubuntu_caffe/tree/master/caffe_cpu

P.S. I don't have access for viewing content under the link you sent.

Regards. Taras.

taras-sereda avatar Jun 17 '15 12:06 taras-sereda

Thanks for contributing that! I will take a look.

tleyden avatar Jun 17 '15 14:06 tleyden