crnn
crnn copied to clipboard
Problem with running docker
I was building docker image with docker build -t crnn_docker . But I am getting the following error. I checked that the file is not busy using lsof. I am running Ubuntu 16.04
- echo
- echo 'Installing TH++'
- echo
- cd /tmp/fblualib-build.gMtGOu/thpp/thpp
- '[' 0 -eq 0 ']'
- mv /root/thpp_build.sh build.sh
- chmod +x build.sh
- ./build.sh ./install_all.sh: ./build.sh: /bin/bash: bad interpreter: Text file busy The command '/bin/sh -c ./install_all.sh' returned a non-zero code: 126
I also faced the same issue but the problem solved after I run the docker build -t crnn_docker .
again.
Fixed this issue by adding a synch command here:
cd $dir/thpp/thpp if [ $current -eq 0 ]; then mv /root/thpp_build.sh build.sh chmod +x build.sh fi sync; ./build.sh