Add ROS 2 Jazzy and Rolling support with Dockerfiles and repository configurations

- Created ros_jazzy.repos for ROS 2 Jazzy with necessary repositories.
- Added ros_rolling.Dockerfile for building ROS 2 Rolling with a multi-stage build process.
- Introduced ros_rolling.repos for ROS 2 Rolling with updated repository versions.
- Updated CMakeLists.txt in ceres_vendor to use version 2.1.0 and modified build options.
- Adjusted package.xml in ceres_vendor to comment out unnecessary dependencies.
- Created vendor_packages.Dockerfile to build various vendor packages including Ceres, OpenCV, and PCL with optimizations for cross-compilation.
This commit is contained in:
EricX-Zhao
2026-04-20 18:04:41 +03:00
parent 514803969d
commit ec215fc2ab
11 changed files with 572 additions and 18 deletions
+4 -4
View File
@@ -5,14 +5,14 @@ services:
cc-base:
build:
context: .
dockerfile: Dockerfile.cc_base
dockerfile: cc_base.Dockerfile
image: cc-base:latest
# 第二步:编译针对 RK3588 的镜像
cc-toolchain:
build:
context: . # 上下文设为根目录,这样才能同时访问 rk3588 文件夹
dockerfile: ${PLATFORM}/Dockerfile.cc_${PLATFORM}
dockerfile: ${PLATFORM}/cc_${PLATFORM}.Dockerfile
image: ${PLATFORM}/cc-toolchain:latest
depends_on:
- cc-base
@@ -21,7 +21,7 @@ services:
vendor-packages:
build:
context: .
dockerfile: vendor_packages/Dockerfile.vendor_packages
dockerfile: vendor_packages/vendor_packages.Dockerfile
args:
CC_PLATFORM_IMAGE: ${PLATFORM}/cc-toolchain:latest
image: ${PLATFORM}/cc-vendor-packages:latest
@@ -31,7 +31,7 @@ services:
ros2:
build:
context: .
dockerfile: ros2/Dockerfile.ros_${ROS_DISTRO}
dockerfile: ros2/${ROS_DISTRO}/ros_${ROS_DISTRO}.Dockerfile
args:
ROS_DISTRO: ${ROS_DISTRO}
PLATFORM: ${PLATFORM}