Fix entrypoints and paths

This commit is contained in:
Alex Davies 2024-10-18 10:40:07 -03:00
parent 09867444c5
commit 57ac1081da
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,5 @@
{
"workspaceFolder": "/home/ros2-workspace/src/",
"workspaceFolder": "/home/ros2-workspace/src/{{PACKAGE_NAME}}",
"name": "ros2-ament_cmake-devcontainer",
"dockerComposeFile": "../docker-compose.yml",
"service": "ros2-ament_cmake-test",

View File

@ -30,4 +30,5 @@ RUN echo "source /opt/ros/${ROS_DISTRO}/setup.bash" >> ~/.bashrc
RUN echo "source ${WS}/src/install/setup.bash" >> ~/.bashrc
#FIX ME
ENTRYPOINT ["/bin/bash","-c","source ${WS}/src/install/setup.bash && {{RUN_COMMAND}}"]
ENTRYPOINT ["/bin/bash","-c","source ${WS}/src/install/setup.bash"]
CMD {{RUN_COMMAND}}