Skip to content

Commit

Permalink
docs: update README (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
domire8 committed Apr 30, 2024
1 parent c0d85cf commit ea24415
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 33 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/reusable-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
VERSION_TAG="v${{ needs.check-version.outputs.version }}"
IMAGE_TAGS="${VERSION_TAG},${VERSION_TAG}-${{ inputs.ros_distro}}","${{ inputs.ros_distro}}"
GIT_TAG="${{ inputs.ros_distro}}-${VERSION_TAG}"
GIT_TAG="${VERSION_TAG}-${{ inputs.ros_distro}}"
BUILD_FLAGS+=(--build-arg VERSION=${GIT_TAG})
echo "::debug::Using base image tag ${BASE_TAG}"
Expand Down
49 changes: 19 additions & 30 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,44 +2,33 @@

![Build and Push ROS and ROS2 images](https://github.com/aica-technology/docker-images/actions/workflows/build-push.yml/badge.svg)

## Images
This repository is used to produce pre-configured and versioned Docker images with ROS 2 and `ros2_control` packages and
other dependencies pre-installed. The images can be used as workspaces for development containers or as base images for
downstream targets.

### ROS workspace (noetic)
## ROS 2 workspace (ros2-ws)

The ros_ws image provides a ROS workspace (noetic). Build it by running the
[build script](ros_ws/build.sh) while in the [ros_ws](ros_ws) directory.
The `ros2_ws` image provides a ROS 2 workspace with pre-installed ros2-control packages.

The username that should be supplied at login is `ros`.
### Deprecated images

### ROS workspace with pre-installed control libraries
1. ROS workspace (noetic): the ros_ws image provides a ROS workspace (noetic). Build it by running the
[build script](ros_ws/build.sh) while in the [ros_ws](ros_ws) directory. The username that should be supplied at
login is `ros`.

The ros_control_libraries image provides the same ROS workspace as ros_ws but
comes with the pre-installed [control libraries](https://github.com/aica-technology/control-libraries).
2. ROS workspace with pre-installed control libraries: the ros_control_libraries image provides the same ROS workspace
as ros_ws but comes with the pre-installed [control libraries](https://github.com/aica-technology/control-libraries).

### ROS2 workspace
3. ROS 2 workspace with pre-installed control libraries: the ros2_control_libraries image provides the a ROS 2 workspace
and comes with the pre-installed [control libraries](https://github.com/aica-technology/control-libraries).

Similar to the ROS workspace, the ros2_ws image provides a ROS2 workspace.
Build it by running the [build script](ros2_ws/build.sh) while
in the [ros2_ws](ros2_ws) directory. Modify the ROS2 distribution
in the script as desired.
4. ROS 2 workspace with pre-installed control libraries and modulo: the ros2_modulo image provides a ROS 2 workspace with
[modulo](https://github.com/aica-technology/modulo) already built and comes with pre-installed
[control libraries](https://github.com/aica-technology/control-libraries).

The username that should be supplied at login is `ros2`.

### ROS2 workspace with pre-installed control libraries

The ros2_control_libraries image provides the same ROS2 workspace as ros2_ws but
comes with the pre-installed [control libraries](https://github.com/aica-technology/control-libraries).

### ROS2 workspace with pre-installed control libraries and modulo

The ros2_modulo image provides a ROS2 workspace with [modulo](https://github.com/aica-technology/modulo)
already built and comes with pre-installed [control libraries](https://github.com/aica-technology/control-libraries).

### ROS2 workspace with pre-installed control libraries, modulo, and ROS2 control

The ros2_modulo_control image provides a ROS2 workspace with [modulo](https://github.com/aica-technology/modulo)
already built and comes with pre-installed [control libraries](https://github.com/aica-technology/control-libraries)
and ROS2 control packages.
5. ROS 2 workspace with pre-installed control libraries, modulo, and ROS 2 control: the ros2_modulo_control image provides
a ROS 2 workspace with [modulo](https://github.com/aica-technology/modulo) already built and comes with pre-installed
[control libraries](https://github.com/aica-technology/control-libraries) and ROS 2 control packages.

## Scripts

Expand Down
4 changes: 2 additions & 2 deletions ros2_ws/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ USER ${USER}
# Metadata
ARG VERSION
ARG BASE_TAG
LABEL org.opencontainers.image.title="AICA ROS2 image"
LABEL org.opencontainers.image.description="AICA base ROS2 image (includes ros2_control)"
LABEL org.opencontainers.image.title="AICA ROS 2 image"
LABEL org.opencontainers.image.description="AICA base ROS 2 image (includes ros2_control)"
LABEL org.opencontainers.image.version="${VERSION}"
LABEL org.opencontainers.image.base.name="docker.io/library/ros:${BASE_TAG}"
LABEL tech.aica.image.metadata='{"type":"base/ws","base":{"name":"docker.io/library/ros","version":"'${BASE_TAG}'"}}'

0 comments on commit ea24415

Please sign in to comment.