LabelFusion
LabelFusion copied to clipboard
bash command in docker entrypoint not quite working
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.