Skip to content

Commit

Permalink
Fix ros directory path
Browse files Browse the repository at this point in the history
  • Loading branch information
ymd-stella committed Jan 31, 2021
1 parent deab4dc commit 9048d8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.ros
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ RUN set -x && \
apt-get autoremove -y -qq && \
rm -rf /var/lib/apt/lists/*

WORKDIR /openvslam/ros
WORKDIR /openvslam/ros/1

RUN set -x && \
: "install cv_bridge" && \
Expand All @@ -269,7 +269,7 @@ RUN set -x && \
-DBOW_FRAMEWORK=DBoW2"

RUN set -x && \
sh -c "echo '#'\!'/bin/bash\nset -e\nsource /opt/ros/${ROS_DISTRO}/setup.bash\nsource /openvslam/ros/devel/setup.bash\nexec \"\$@\"' > /ros_entrypoint.sh" && \
sh -c "echo '#'\!'/bin/bash\nset -e\nsource /opt/ros/${ROS_DISTRO}/setup.bash\nsource /openvslam/ros/1/devel/setup.bash\nexec \"\$@\"' > /ros_entrypoint.sh" && \
chmod u+x /ros_entrypoint.sh

ENTRYPOINT ["/ros_entrypoint.sh"]
Expand Down

0 comments on commit 9048d8f

Please sign in to comment.