-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker build error #1
Comments
Hello wuziniu, However, I realized the mv-extractor was downloaded from an old repository. I updated this in the Dockerfile before building. Maybe, you can try again with the updated Dockerfile. Just clone this repo again before building, but checkout v1.0.1 this time (also see the updated readme). If that fails again, you could delete all lines including the one where the error occurs in the Dockerfile, built the image, and run the container with the command stated in the readme. Then you can check, whether OpenCV was properly installed into "/usr/local/include/opencv4/", i.e. whether the directory is available and contains opencv. It should look like this |
Thanks for the reply. I'm building the docker image on Ubuntu 18.04 with docker version 20.10.10. There are a couple of suspicious warning and errors during docker build of Step 4/44 : (RUN cd $HOME && git clone -b "v1.0.0" https://github.com/LukasBommes/mv-extractor.git video_cap && cd video_cap && chmod +x install.sh && ./install.sh).
-- xfeatures2d/boostdesc: Download: boostdesc_binboost_064.i -- data: Download: face_landmark_model.dat
|
Hey wuziniu, thanks for your patience with building my project! The download errors explain why OpenCV is not installed properly. While I don't know the reason for the timeouts, it has happened to other users of OpenCV and seems to be caused by network issues. See here or here. In both cases the problem is solved by manually downloading the respective files. If nothing works, I can still provide you with my prebuilt docker container. |
Thanks a lot. I'll try to do that. |
Welcome. I hope you get it to work. |
Closing due to inactivity. Feel free to reopen for further discussion. |
Hi, I'm new to docker and run into this problem when running sudo docker build:
Step 30/44 : WORKDIR /usr/local/include/opencv4/
---> Running in 2c0f16c18f84
Removing intermediate container 2c0f16c18f84
---> a32ddfa93f30
Step 31/44 : COPY --from=builder /usr/local/include/opencv4/ .
COPY failed: stat usr/local/include/opencv4/: file does not exist
How may I fix it?
The text was updated successfully, but these errors were encountered: