Skip to Content

Base images

Every module image builds FROM one of two base images published by RAMMP-docker . They fix the ROS 2 version, the DDS middleware, and the interface contract, so two modules built independently still speak the same types.

Both images are linux/arm64 only. There is no amd64 variant.

The two images

rammp-baserammp-cuda
ContainsROS 2 Humble, Cyclone DDS, rammp-interfaces-ros2 compiled inEverything in rammp-base, plus the CUDA 12.6 runtime libraries and CUDA-enabled PyTorch
Use forHardware drivers, sensor nodes, anything that does not need the GPUNodes that need the GPU
Runs onAny arm64 host with Docker: a Jetson, an ARM Mac in an arm64 Linux VM, an AWS Graviton instanceA Jetson Orin on JetPack 6.2.1, with --runtime nvidia
SizeSmallSeveral gigabytes larger

rammp-base

ROS 2 Humble with Cyclone DDS selected as the RMW, and the interface contract from rammp-interfaces-ros2 built into /ros2_ws. Pick this unless your node needs the GPU.

rammp-cuda

Built FROM rammp-base, so the two share one lineage and the interface contract is identical by construction. Adds the CUDA runtime libraries and PyTorch from the Jetson wheel index.

The image ships the CUDA runtime but no driver. The Jetson’s container runtime injects libcuda.so at start, which is why every rammp-cuda container runs with --runtime nvidia. Without it, torch.cuda.is_available() is False.

If you build FROM rammp-cuda, remove torch and torchvision from your module’s requirements.txt. Reinstalling them from PyPI replaces the Jetson-specific wheels with ones that cannot drive the GPU.

Tags

Release tags are <semver>-jp<N>, for example rammp-cuda:2.0.0-jp6.

PartTracksChanges when
semverThe interface contract and the base setupMajor for a breaking contract change, minor for an additive one, patch for base plumbing
-jp<N>The JetPack generation the image runs onThe robot moves to a new JetPack generation. jp6 is JetPack 6 on L4T r36.

Pin the full version in your module’s FROM. The floating :humble tag always points at the latest release, and Docker will reuse a stale cached copy of it without telling you.

The exact CUDA, cuDNN, torch, and interface versions in an image are OCI labels, not part of the tag:

docker inspect --format '{{json .Config.Labels}}' \ ghcr.io/rammp-org/rammp-cuda:2.0.0-jp6

Pull them

docker pull ghcr.io/rammp-org/rammp-base:2.0.0-jp6 docker pull ghcr.io/rammp-org/rammp-cuda:2.0.0-jp6

The current pinned version is on Software versions.

How a base image release is cut

You do not need this to build a module.

Tag a release

A contract or base setup change bumps VERSION in the Makefile, and someone pushes a v* tag:

git tag v2.0.0-jp6 git push origin v2.0.0-jp6

CI derives the version

The workflow runs on GitHub’s native arm64 runners. A v* tag becomes the version and sets publish=true. Any other ref gets 0.0.0-<sha> and publish=false, so an untagged push never reaches the registry. A tag that does not match v<semver>-jp<N> fails the build.

Both images build and are smoke-tested

make base cuda builds both with plain docker build, then make test runs scripts/smoke-test.sh against each. The script checks the architecture, the selected RMW, and that every interface type imports. On the runner it skips the GPU checks. On the Jetson it also confirms CUDA runs and that two containers discover each other over DDS.

Only a tag publishes

On a v* tag, make push tags both images as <version> and :humble and pushes them to ghcr.io/rammp-org.

To build them by hand on the Jetson instead:

git clone https://github.com/rammp-org/RAMMP-docker.git cd RAMMP-docker make base cuda make test docker login ghcr.io && make push

Edit this page on GitHub

Last updated on