15 lines
525 B
Docker
15 lines
525 B
Docker
|
|
FROM ghcr.io/reazon-research/ros2:humble
|
||
|
|
|
||
|
|
COPY ros_entrypoint.sh /ros_entrypoint.sh
|
||
|
|
RUN . /opt/ros/humble/setup.sh && \
|
||
|
|
apt update && \
|
||
|
|
apt install nlohmann-json3-dev -y && \
|
||
|
|
mkdir --parents ~/ros2_ws/src && \
|
||
|
|
git clone --branch main https://github.com/reazon-research/openarm_ros2.git ~/ros2_ws/src/openarm_ros2 && \
|
||
|
|
cd ~/ros2_ws && \
|
||
|
|
rosdep install --from-paths src --ignore-src -r -y && \
|
||
|
|
colcon build --symlink-install && \
|
||
|
|
chmod +x /ros_entrypoint.sh
|
||
|
|
|
||
|
|
ENTRYPOINT [ "/ros_entrypoint.sh" ]
|