Skip to content

Commit

Permalink
ogma-core: Fix incorrect path when using Space ROS humble-2024-10.0. …
Browse files Browse the repository at this point in the history
…Refs #158.

The new Space ROS no longer has packages in the user's home. Instead,
the Space ROS installation has been moved to /opt. This makes the
Dockerfile produced by the ROS backend fail, since it sources a
setup.bash file that no longer exists.

This commit fixes the version of space ros to be humble-2024.10.0, and
adjusts a source command to the correct location under that version.
  • Loading branch information
ivanperez-keera committed Nov 13, 2024
1 parent e791b1c commit fa30eea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ogma-core/templates/ros/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM osrf/space-ros:latest
FROM osrf/space-ros:humble-2024.10.0

ARG USER=spaceros-user
ARG PACKAGE_PATH=/home/${USER}/monitors
Expand All @@ -12,5 +12,5 @@ USER ${USER}

SHELL ["/bin/bash", "-c"]
WORKDIR ${PACKAGE_PATH}
RUN source ${ROS_PATH}/install/setup.bash && \
RUN source /opt/spaceros/install/setup.bash && \
colcon build

0 comments on commit fa30eea

Please sign in to comment.