Skip to content

Commit

Permalink
add entry and pythonpath
Browse files Browse the repository at this point in the history
  • Loading branch information
woensug-choi committed Aug 7, 2024
1 parent c4a86a5 commit 22864c1
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .docker/jazzy.amd64.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,15 @@ RUN . "/opt/ros/${ROS_DISTRO}/setup.sh" && \

# source entrypoint setup
RUN touch /ros_entrypoint.sh && sed --in-place --expression \
'$i source "$DAVE_WS/install/setup.bash"' /ros_entrypoint.sh
'$i source "/opt/ws_dave/install/setup.bash"' /ros_entrypoint.sh

# Source ROS and Gazebo
RUN sed --in-place --expression \
'$i source "/opt/ros/jazzy/setup.bash"' /ros_entrypoint.sh && \
sed --in-place --expression \
'$i source "/opt/gazebo/install/setup.bash"' /ros_entrypoint.sh && \
sed --in-place --expression \
'$i export PYTHONPATH=$PYTHONPATH:/opt/gazebo/install/lib/python' /ros_entrypoint.sh

# Set User as user
USER $USER
Expand Down

0 comments on commit 22864c1

Please sign in to comment.