Skip to content

Commit 22864c1

Browse files
committed
add entry and pythonpath
1 parent c4a86a5 commit 22864c1

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.docker/jazzy.amd64.dockerfile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,15 @@ RUN . "/opt/ros/${ROS_DISTRO}/setup.sh" && \
6262

6363
# source entrypoint setup
6464
RUN touch /ros_entrypoint.sh && sed --in-place --expression \
65-
'$i source "$DAVE_WS/install/setup.bash"' /ros_entrypoint.sh
65+
'$i source "/opt/ws_dave/install/setup.bash"' /ros_entrypoint.sh
66+
67+
# Source ROS and Gazebo
68+
RUN sed --in-place --expression \
69+
'$i source "/opt/ros/jazzy/setup.bash"' /ros_entrypoint.sh && \
70+
sed --in-place --expression \
71+
'$i source "/opt/gazebo/install/setup.bash"' /ros_entrypoint.sh && \
72+
sed --in-place --expression \
73+
'$i export PYTHONPATH=$PYTHONPATH:/opt/gazebo/install/lib/python' /ros_entrypoint.sh
6674

6775
# Set User as user
6876
USER $USER

0 commit comments

Comments
 (0)