I'm setting up a docker container for a project of mine which runs using ROS. I'm using rosmake and need to set the ROS_PACKAGE_PATH environment variable to include my own packages before calling rosmake. In the Dockerfile, I use ENV ROS_PACKAGE_PATH /foo:$ROS_PACKAGE_PATH
However when I run the container, the ROS_PACKAGE_PATH only contains /opt/ros/indigo/share:/opt/ros/indigo/stacks I need some help with this because without setting the ROS_PACKAGE_PATH I can't invoke a rosmake from inside the Dockerfile. Since the exact same method of setting environment variables is being used, successfully to set other non-ROS-related variables, I feel it might be more of a ROS issue than a Docker issue.
Post score: 1