Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit dd752ad

Browse files
committedMar 27, 2025··
feat: Bump ROS 2 version from Humble to Jazzy
1 parent 87404ad commit dd752ad

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed
 

‎templates/ReadMe.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# ROS and ROS 2 Docker Templates
22

3-
Author: [Tobit Flatscher](https://github.com/2b-t) (2021 - 2024)
3+
Author: [Tobit Flatscher](https://github.com/2b-t) (2021 - 2025)
44

55

66

77
## Overview
88

9-
This directory contains a **ROS Noetic** as well as a **ROS 2 Humble Docker workspace** template that should allow you to get started quickly with the best practices given in the documentation of this repository. The individual subdirectories contain a read-me that explains what settings can be made to the corresponding workspaces.
9+
This directory contains a **ROS Noetic** as well as a **ROS 2 Jazzy Docker workspace** template that should allow you to get started quickly with the best practices given in the documentation of this repository. The individual subdirectories contain a read-me that explains what settings can be made to the corresponding workspaces.

‎templates/ros2/ReadMe.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# ROS 2 Humble Docker Template
1+
# ROS 2 Jazzy Docker Template
22

3-
Author: [Tobit Flatscher](https://github.com/2b-t) (2021 - 2024)
3+
Author: [Tobit Flatscher](https://github.com/2b-t) (2021 - 2025)
44

55

66

77
## 0. Overview
88

9-
This repository contains a Docker workspace template for [**ROS 2 Humble**](https://docs.ros.org/en/humble/index.html). The idea is that a Docker is created for each project at Ament workspace level. Dependencies that are not expected to change during the course of a project are installed from Debian packages inside the Dockerfile, while proprietary dependencies that are expected to change during a project are mounted into the container and version controlled with [**`vcstool`**](https://github.com/dirk-thomas/vcstool). Only selected folders such as `dds/` and `src/` are mounted into the container so that the workspace can be compiled on the host system as well as inside the container without them interfering.
9+
This repository contains a Docker workspace template for [**ROS 2 Jazzy**](https://docs.ros.org/en/jazzy/index.html). The idea is that a Docker is created for each project at Ament workspace level. Dependencies that are not expected to change during the course of a project are installed from Debian packages inside the Dockerfile, while proprietary dependencies that are expected to change during a project are mounted into the container and version controlled with [**`vcstool`**](https://github.com/dirk-thomas/vcstool). Only selected folders such as `dds/` and `src/` are mounted into the container so that the workspace can be compiled on the host system as well as inside the container without them interfering.
1010

1111
Here is an overview of the structure of this repository:
1212

‎templates/ros2/docker/Dockerfile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
##############
22
# Base image #
33
##############
4-
FROM ros:humble-ros-base AS base
4+
FROM ros:jazzy-ros-base AS base
55

66
ARG AMENT_WORKSPACE_DIR="/ament_ws"
77

88
LABEL org.opencontainers.image.authors="tobit.flatscher@outlook.com"
9-
LABEL description="ROS 2 Humble Docker template"
9+
LABEL description="ROS 2 Jazzy Docker template"
1010
LABEL version="1.0"
1111

1212
WORKDIR ${AMENT_WORKSPACE_DIR}
@@ -57,8 +57,8 @@ RUN apt-get update \
5757
htop \
5858
iperf3 \
5959
iputils-ping \
60-
mlocate \
6160
net-tools \
61+
plocate \
6262
psmisc \
6363
tmux \
6464
xterm \
@@ -78,6 +78,10 @@ RUN apt-get update \
7878
RUN apt-get update \
7979
&& apt-get install -y sudo \
8080
&& rm -rf /var/lib/apt/lists/* \
81+
# Remove user blocking UID 1000 on Ubuntu 24.04 and onwards:
82+
# See https://bugs.launchpad.net/cloud-images/+bug/2005129 and
83+
# https://github.com/devcontainers/images/issues/1056
84+
&& userdel -r ubuntu || true \
8185
&& addgroup --gid ${GID} ${USERNAME} \
8286
&& adduser --disabled-password --gecos '' --uid ${GID} --gid ${GID} ${USERNAME} \
8387
&& echo ${USERNAME} ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/${USERNAME} \

0 commit comments

Comments
 (0)
Please sign in to comment.