1
0

Dockerfile 447 B

1234567891011121314151617181920212223242526
  1. FROM ros:humble-ros-base
  2. RUN apt-get update && apt-get install -y \
  3. python3-pip \
  4. # python3-dev \
  5. # build-essential \
  6. && rm -rf /var/lib/apt/lists/*
  7. SHELL ["/bin/bash", "-c"]
  8. RUN pip3 install nicegui
  9. ADD ros2_ws /ros2_ws
  10. WORKDIR /ros2_ws
  11. RUN source /opt/ros/humble/setup.bash && \
  12. colcon build --symlink-install
  13. COPY ros_entrypoint.sh /
  14. EXPOSE 8080
  15. ENTRYPOINT ["/ros_entrypoint.sh"]
  16. CMD ros2 launch gui main_launch.py