Skip to content

Commit d4f0b93

Browse files
Merge branch 'dev-moveit2-tag' into main. Close #222.
2 parents eea1cff + 977bf65 commit d4f0b93

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

moveit2/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ If building locally, the underlying base image can be set in the [build script](
1919
SPACE_ROS_IMAGE="space-ros:main" ./build.sh
2020
```
2121

22+
Similarly, the tag for the resulting Docker image can be customized using the `MOVEIT2_TAG` environment variable.
23+
For example, to build an image based on the `space-ros:humble-2024.10.0` image and tag it with the same release label use:
24+
25+
```bash
26+
# Use a locally built image as the base
27+
SPACE_ROS_IMAGE="osrf/space-ros:humble-2024.10.0" MOVEIT2_TAG=humble-2024.10.0 ./build.sh
28+
```
29+
2230
The build process will take about 30 minutes, depending on the host computer.
2331

2432
## Running the MoveIt2 Docker Image in a Container

moveit2/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
ORG=openrobotics
44
IMAGE=moveit2
5-
TAG=latest
5+
TAG=${MOVEIT2_TAG:-"latest"}
66

77
VCS_REF=""
88
VERSION=preview

0 commit comments

Comments
 (0)