You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We could support developing inside containers using robot_folders a bit more.
As I am not using throwaway containers for my development on a daily basis, I don't feel like I should go ahead and implement this, at least somebody should give their thoughts on this, hence the "help wanted" label. If you would like to see this feature happen and got some experience in that regards, please share them here so we can actually make this feature useful. Or even you might want to contribute yourself?
Description
e.g. we could provide a fzrob docker command with the following subcommands
build for building a development image. We could provide a base dockerfile that could be re-used parametrized with the ROS distribution (basing FROM ros:<distro>)
start for starting a container with that image. This could bind-mount the current env's root dir (or only the source dirs and the demos dir?) into the container in order to have the source files persistently available, also on the host system.
stop for stopping a container with that image
commit to stage the current container
We might also support the devcontainers specification instead of only using Dockerfiles... I guess?
Things to consider
underlays need to be handled explicitly (copied / mounted into the container)
The text was updated successfully, but these errors were encountered:
another option would be to generate a new docker image from the underlay workspaces with the packages already built and installed (depends on the workflow, if one has to often touch those workspaces this might be suboptimal).
Regarding devcontainer specification: it brings a lot to the table, especially stuff like devcontainer-features. For me it's the one thing that enables me to still use my favorite cli tools without (re)writing a dockerfile for every project. Also it gives a nice separation between the "build" dependencies (libraries etc) and the "development" dependencies (compiler, linter, language server, editor etc.).
We could support developing inside containers using robot_folders a bit more.
As I am not using throwaway containers for my development on a daily basis, I don't feel like I should go ahead and implement this, at least somebody should give their thoughts on this, hence the "help wanted" label. If you would like to see this feature happen and got some experience in that regards, please share them here so we can actually make this feature useful. Or even you might want to contribute yourself?
Description
e.g. we could provide a
fzrob docker
command with the following subcommandsbuild
for building a development image. We could provide a base dockerfile that could be re-used parametrized with the ROS distribution (basingFROM ros:<distro>
)start
for starting a container with that image. This could bind-mount the current env's root dir (or only the source dirs and the demos dir?) into the container in order to have the source files persistently available, also on the host system.stop
for stopping a container with that imagecommit
to stage the current containerWe might also support the devcontainers specification instead of only using Dockerfiles... I guess?
Things to consider
The text was updated successfully, but these errors were encountered: