Skip to content

Commit eb3ae8f

Browse files
committed
fix eg1
1 parent 38cd737 commit eb3ae8f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

eg1/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ FROM osrf/ros:foxy-desktop
22

33
SHELL ["/bin/bash", "-c"]
44

5+
WORKDIR /app
6+
57
COPY ros2_ws ros2_ws/
68
RUN cd ros2_ws && \
79
source /opt/ros/foxy/setup.bash && \

eg1/ros_entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
set -e
33

44
source /opt/ros/foxy/setup.bash
5-
source /ros2_ws/install/setup.bash
5+
source /app/ros2_ws/install/setup.bash
66

77
exec "$@"

0 commit comments

Comments
 (0)