sea-bass / turtlebot3_behavior_demos

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

`make build` fails #10

Closed PatJRobinson closed 1 year ago

PatJRobinson commented 1 year ago

Following the instructions, when I run sudo make build, I am greeted by the error unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /docker: no such file or directory.

I fixed this by removing ${PWD} from the docker file paths in the MakeFile, however I am curious to know the cause of this issue, when no one else seems to have encountered it. Forgive my noobiness if it is obvious.

sea-bass commented 1 year ago

Do you happen to be on Windows, by any chance? Might be the case that the $PWD env variable isn't friendly to that, and should just be replaced by ..

Edit: Ah, I think the use of sudo in your command might be killing the $PWD env variable. You could try

Source: https://github.com/docker/compose/issues/5003#issuecomment-318469535

Either way, now that I know better, I really need to update this example to use Docker compose instead of make...

PatJRobinson commented 1 year ago

That seems to work, thanks for the speedy reply!

I am now facing another issue in that groot fails to install. I can see that this was patched in a previous issue, however it still fails for me. I will open a new issue.

sea-bass commented 1 year ago

Closing this one and will keep working on the Humble transition since Groot seems to be broken on Galactic and that's about to go end of life in Nov 2022.