Добавлена сборка контроллера

This commit is contained in:
Даниил Грабарь
2026-05-18 16:59:16 +03:00
parent 9bff33608e
commit 8d27c01b92
2 changed files with 28 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
FROM evilfisru/ros:jazzy-base-noble
ENV RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
RUN apt-get update && apt-get install -y --no-install-recommends \
ros-jazzy-rmw-cyclonedds-cpp \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /ros2_ws
COPY src/ src/
RUN apt-get update && \
rosdep install --from-paths src -i -r -y && \
rm -rf /var/lib/apt/lists/*
RUN . /opt/ros/$ROS_DISTRO/setup.sh && \
colcon build --mixin release
RUN echo ". /ros2_ws/install/setup.bash" >> /root/.bashrc
CMD ["bash"]