sea-bass / turtlebot3_behavior_demos

Example repository for autonomous behaviors using TurtleBot3, as well as Docker workflows in ROS based projects.
MIT License
260 stars 49 forks source link

docker compose build failed when running to vcs import < dependencies.repos #18

Open Hezhexi2002 opened 1 year ago

Hezhexi2002 commented 1 year ago

@sea-bass Hi,as the title described,the build process failed when running to vcs import < dependencies.repos: image I don't know if it is due to the network setup on my host machine because I use clash for windows to proxy my network,but the error still occurs after I set the --build-arg http_proxy and --build-arg https_proxy to my host proxy configuration: image so I want ask you if there any solution and I'd appreciate it if you could give me some advice!

sea-bass commented 1 year ago

Ooh, that is tricky one...

You could try RUN sudo apt install openssl in the Dockerfile and change the contents of the dependencies.repos file to use the SSH form (e.g., git@github.com/ROBOTIS-GIT/turtlebot3.git)... or set up the git config with your proxy as part of the build.

Both of these possible solutions are described in this StackOverflow post

Hezhexi2002 commented 1 year ago

Ooh, that is tricky one...

You could try RUN sudo apt install openssl in the Dockerfile and change the contents of the dependencies.repos file to use the SSH form (e.g., git@github.com/ROBOTIS-GIT/turtlebot3.git)... or set up the git config with your proxy as part of the build.

Both of these possible solutions are described in this StackOverflow post

OK,thanks for your detailed reply,I'll try the sugeestios you have mentioned above and give you feedback if there is any progress!:-)

Hezhexi2002 commented 1 year ago

Ooh, that is tricky one... You could try RUN sudo apt install openssl in the Dockerfile and change the contents of the dependencies.repos file to use the SSH form (e.g., git@github.com/ROBOTIS-GIT/turtlebot3.git)... or set up the git config with your proxy as part of the build. Both of these possible solutions are described in this StackOverflow post

OK,thanks for your detailed reply,I'll try the sugeestios you have mentioned above and give you feedback if there is any progress!:-)

Update:Sorry to give you the feedback so late because I'm not at home these days,but now the installation seems to be ok after I turn off the ssl certificate follow the blog: image but I'm not sure whether this will impact my network afterwards,Anyway,I will continue to follow up the feedback if there is any problem after

Hezhexi2002 commented 1 year ago

Ooh, that is tricky one... You could try RUN sudo apt install openssl in the Dockerfile and change the contents of the dependencies.repos file to use the SSH form (e.g., git@github.com/ROBOTIS-GIT/turtlebot3.git)... or set up the git config with your proxy as part of the build. Both of these possible solutions are described in this StackOverflow post

OK,thanks for your detailed reply,I'll try the sugeestios you have mentioned above and give you feedback if there is any progress!:-)

Update:Sorry to give you the feedback so late because I'm not at home these days,but now the installation seems to be ok after I turn off the ssl certificate follow the blog: image but I'm not sure whether this will impact my network afterwards,Anyway,I will continue to follow up the feedback if there is any problem after

The error still occurred and I confused the apt-get update part with vcs import < dependencies.repos,the screenshot still shows the process of apt-get update not vcs import < dependencies.repos which means I have to try other solutions:-(

Hezhexi2002 commented 1 year ago

@sea-bass Hi,sorry to response you so lately but it is because I'm working on a other project these days.However,the problem still occurs when I attempt to build the image again and I have already set the git proxy in the Dockerfile this time: image but it did not work at all,the error still exists: image so is means I can only install the project through local setup?Looking forward to your reply!:-)