osrf / rvizweb

RVizWeb: RViz on the browser
285 stars 59 forks source link

Installing inside a docker #21

Closed athackst closed 5 years ago

athackst commented 5 years ago

I'm having trouble building this package within a docker on jenkins. Could you provide a simple dockerfile that installs this properly?

athackst commented 5 years ago

FYI, Jenkins was having an issue because it wants to run docker images with its own user name and group. Since nvm is a per user/per session thing and the initial set up was done inside the docker (but being this package was built with exec) Jenkins couldn't access nodejs. Interestingly, instead of failing out on not being able to find node, it just didn't execute the execute_process steps (with no error output) and then would complain on install for the www directory not being present.

jubeira commented 5 years ago

Thanks for the report @athackst.

athackst commented 5 years ago

It was the original problem. I've since just decided to pull and build as a part of the docker image as opposed to with the rest of my code.

Related: are you planning on releasing this in kinetic/melodic? I would have just installed it if that were an option.

jubeira commented 5 years ago

As we already figured in #25, releasing it for Melodic might be a bit tricky until the dependencies are rolled out.

For Kinetic it should be possible; we would need to create the -release repository for that and maybe a kinetic branch here. @chapulina WDYT?

chapulina commented 5 years ago

Let's move the conversation about releasing into Kinetic to #27.

jubeira commented 5 years ago

Sounds good; closing this one then.