Skip to content

Commit eb70230

Browse files
authored
Merge pull request #32 from turlucode/develop
Version 3.2.0
2 parents ec116db + 1673c66 commit eb70230

File tree

13 files changed

+153
-34
lines changed

13 files changed

+153
-34
lines changed

CHANGELOG

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,23 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [3.2.0] - 2025-05-09
9+
10+
### Added
11+
- Added new `dockerfile_templates/python.txt` template where all python related packages are defined. Now python is istalled by default
12+
- Added new oh-my-zsh plugins: zsh-autosuggestions, zsh-completions and zsh-syntax-highlighting
13+
- Added `git-lfs` to `dockerfile_templates/install_common_packages.txt`
14+
15+
### Fixed
16+
- Fixed `zsh` autocompletion issue in ROS2
17+
18+
### Changed
19+
- Introduced `dockerfile_templates/ros2_extra.txt` to explicitly define extra ROS packages and reduced scope of ros2.txt
20+
21+
### Removed
22+
- Removed python installation from `dockerfile_templates/conan.txt` as python is installed by default now
23+
- Removed any pip upgrades from template files as pip is being upgraded by default at `dockerfile_templates/python.txt`
24+
825
## [3.1.1] - 2025-03-21
926

1027
### Fixed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "turludock"
3-
version = "3.1.1"
3+
version = "3.2.0"
44
description = "Builds ROS docker images that support GUI with either X11 or Wayland."
55
authors = [
66
"Athanasios <[email protected]>",
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
# Install conan
2-
RUN apt-get update && apt-get install -y python3-pip && \
3-
apt-get clean && rm -rf /var/lib/apt/lists/*
4-
5-
RUN pip install --no-cache-dir --break-system-packages --upgrade pip || pip install --no-cache-dir --upgrade pip && \
6-
pip install --no-cache-dir --break-system-packages --ignore-installed PyYAML && \
2+
RUN pip install --no-cache-dir --break-system-packages --ignore-installed PyYAML && \
3+
pip install --no-cache-dir --break-system-packages --ignore-installed distro && \
74
pip install --no-cache-dir --break-system-packages conan
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
11
# Install cpplint
2-
RUN apt-get update && apt-get install -y python3-pip && \
3-
apt-get clean && rm -rf /var/lib/apt/lists/*
4-
5-
RUN pip install --user --no-cache-dir --break-system-packages --upgrade pip && \
6-
pip install --user --no-cache-dir --break-system-packages cpplint
2+
RUN pip install --user --no-cache-dir --break-system-packages cpplint

turludock/assets/dockerfile_templates/install_common_packages.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ sudo \
44
locales \
55
lsb-release \
66
git \
7+
git-lfs \
78
subversion \
89
nano \
910
vim \

turludock/assets/dockerfile_templates/oh_my_zsh.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,9 @@ RUN apt-get update && apt-get install -y zsh && apt-get clean && rm -rf /var/lib
55
git clone https://github.com/sindresorhus/pure /root/.oh-my-zsh/custom/pure && \
66
ln -s /root/.oh-my-zsh/custom/pure/pure.zsh-theme /root/.oh-my-zsh/custom/ && \
77
ln -s /root/.oh-my-zsh/custom/pure/async.zsh /root/.oh-my-zsh/custom/ && \
8+
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions && \
9+
git clone https://github.com/zsh-users/zsh-completions.git ${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-completions && \
10+
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting && \
811
sed -i -e 's/robbyrussell/refined/g' /root/.zshrc && \
9-
sed -i '/plugins=(/c\plugins=(git pyenv)' /root/.zshrc
12+
sed -i '/plugins=(/c\plugins=(git pyenv zsh-autosuggestions zsh-syntax-highlighting)' /root/.zshrc && \
13+
sed -i '/source \$ZSH\/oh-my-zsh\.sh/i # needed for zsh-completions\nfpath+=${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-completions/src\nautoload -U compinit \&\& compinit\n' ~/.zshrc
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Install Python and Python related packages
2+
RUN apt-get update && apt-get install -y python3 python3-dev python3-venv python3-pip && \
3+
apt-get clean && rm -rf /var/lib/apt/lists/*
4+
# Upgrade pip - but not all pip versions support "--break-system-packages"
5+
RUN python3 -m pip install --upgrade pip --break-system-packages --ignore-installed || python3 -m pip install --upgrade pip

turludock/assets/dockerfile_templates/ros2.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@ RUN add-apt-repository -y universe && \
55

66
RUN apt-get update && apt-get install -y \
77
ros-$ros_version_short-desktop \
8-
ros-dev-tools \
9-
ros-$ros_version_short-perception \
10-
libpcl-dev && \
8+
ros-dev-tools && \
119
apt-get clean && rm -rf /var/lib/apt/lists/*
1210

1311
RUN echo "source /opt/ros/$ros_version_short/setup.bash" >> /root/.bashrc && \
14-
echo "source /opt/ros/$ros_version_short/setup.zsh" >> /root/.zshrc
12+
echo "source /opt/ros/$ros_version_short/setup.zsh" >> /root/.zshrc
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Fix for argcomplete for ros2 & colcon (https://github.com/ros2/ros2cli/issues/534#issuecomment-957516107)
2+
RUN echo "\n# Fix for argcomplete for ros2 & colcon (https://github.com/ros2/ros2cli/issues/534#issuecomment-957516107)" >> /root/.zshrc && \
3+
echo 'eval "$$(/usr/bin/register-$python_argcomplete ros2)"' >> /root/.zshrc && \
4+
echo 'eval "$$(/usr/bin/register-$python_argcomplete colcon)"' >> /root/.zshrc
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Extra ROS2 packages
2+
RUN apt-get update && apt-get install -y \
3+
ros-$ros_version_short-rclpy-message-converter \
4+
ros-$ros_version_short-diagnostic-updater \
5+
ros-$ros_version_short-joint-state-publisher \
6+
ros-$ros_version_short-rosbag2-storage-mcap \
7+
ros-$ros_version_short-perception \
8+
ros-$ros_version_short-cv-bridge \
9+
ros-$ros_version_short-pcl-ros \
10+
ros-$ros_version_short-pcl-conversions \
11+
ros-$ros_version_short-point-cloud-transport \
12+
ros-$ros_version_short-visualization-msgs \
13+
ros-$ros_version_short-sensor-msgs \
14+
ros-$ros_version_short-geometry-msgs \
15+
ros-$ros_version_short-mavros-msgs \
16+
ros-$ros_version_short-nmea-msgs \
17+
ros-$ros_version_short-geographic-msgs \
18+
ros-$ros_version_short-vision-msgs \
19+
ros-$ros_version_short-v4l2-camera \
20+
libpcl-dev && \
21+
apt-get clean && rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)