-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from ika-rwth-aachen/jazzy
ROS 2 Jazzy Ubuntu 24.04 support | Entry point user/group check | README updates | CI fixes
- Loading branch information
Showing
6 changed files
with
58 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
name: GitHub | ||
|
||
on: [push, pull_request] | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
name: GitLab | ||
|
||
on: [push, pull_request] | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,17 +7,17 @@ | |
<img src="https://img.shields.io/github/license/ika-rwth-aachen/docker-ros"/> | ||
<a href="https://github.com/ika-rwth-aachen/docker-ros/actions/workflows/github.yml"><img src="https://github.com/ika-rwth-aachen/docker-ros/actions/workflows/github.yml/badge.svg"/></a> | ||
<a href="https://github.com/ika-rwth-aachen/docker-ros/actions/workflows/gitlab.yml"><img src="https://github.com/ika-rwth-aachen/docker-ros/actions/workflows/gitlab.yml/badge.svg"/></a> | ||
<img src="https://img.shields.io/badge/ROS-noetic-blueviolet"/> | ||
<img src="https://img.shields.io/badge/ROS 2-foxy|humble|iron|jazzy-blueviolet"/> | ||
</p> | ||
|
||
*docker-ros* automatically builds minimal container images of ROS applications. | ||
|
||
> [!IMPORTANT] | ||
> This repository is open-sourced and maintained by the [**Institute for Automotive Engineering (ika) at RWTH Aachen University**](https://www.ika.rwth-aachen.de/). | ||
> **DevOps, Containerization and Orchestration of Software-Defined Vehicles** are some of many research topics within our [*Vehicle Intelligence & Automated Driving*](https://www.ika.rwth-aachen.de/en/competences/fields-of-research/vehicle-intelligence-automated-driving.html) domain. | ||
> If you would like to learn more about how we can support your DevOps or automated driving efforts, feel free to reach out to us! | ||
> *Timo Woopen - Manager Research Area Vehicle Intelligence & Automated Driving* | ||
> *+49 241 80 23549* | ||
> *[email protected]* | ||
> If you would like to learn more about how we can support your advanced driver assistance and automated driving efforts, feel free to reach out to us! | ||
> :email: ***[email protected]*** | ||
- [About](#about) | ||
- [Prerequisites](#prerequisites) | ||
|
@@ -35,6 +35,8 @@ | |
- [Extra System Dependencies (*pip*)](#extra-system-dependencies-pip) | ||
- [Custom Installation Script](#custom-installation-script) | ||
- [Extra Image Files](#extra-image-files) | ||
- [Additional Information](#additional-information) | ||
- [User Setup](#user-setup) | ||
- [Configuration Variables](#configuration-variables) | ||
|
||
We recommend to use *docker-ros* in combination with our other tools for Docker and ROS. | ||
|
@@ -332,6 +334,19 @@ If you need to have additional files present in the deployment image, you can us | |
Create a folder `additional-files` in your `docker` folder (or configure a different `ADDITIONAL_FILES_DIR`) and place any files or directories in it. The contents will be copied to `/docker-ros/additional-files` in the image. | ||
## Additional Information | ||
### User Setup | ||
Containers of the provided images start with `root` user by default. If the two environment variables `DOCKER_UID` and `DOCKER_GID` are passed, a new user with the corresponding UID/GID is created on the fly. Most importantly, this features allows to mount and edit files of the host user in the container without having to deal with permission issues. | ||
```bash | ||
docker run --rm -it -e DOCKER_UID=$(id -u) -e DOCKER_GID=$(id -g) -e DOCKER_USER=$(id -un) rwthika/ros:latest | ||
``` | ||
The password of the custom user is set to its username (`dockeruser:dockeruser` by default). | ||
## Configuration Variables | ||
> **Note** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters