LabelFusion icon indicating copy to clipboard operation
LabelFusion copied to clipboard

bash command in docker entrypoint not quite working

Open patmarion opened this issue 6 years ago • 0 comments

This line from labelfusion.dockerfile doesn't seem to work correctly:

ENTRYPOINT bash -c "source /root/labelfusion/docker/docker_startup.sh && /bin/bash"

https://github.com/RobotLocomotion/LabelFusion/blob/master/docker/labelfusion.dockerfile#L11

It successfully sources the file, which sets environment variables and aliases, then launches a /bin/bash session. The environment variables appear in the new bash session correctly but the aliases (cdlf) do not. If the user manually runs source labelfusion/setup_environment.sh then cdlf is available.

patmarion avatar Jun 25 '18 15:06 patmarion