Skip to content

Commit

Permalink
Fix perception_pcl_ros dockerfile for release pipeline (#6233)
Browse files Browse the repository at this point in the history
* Fix perception_pcl_ros dockerfile for release pipeline
Ros noetic is the last ROS 1 release that is still supported (but only until May this year)

* Update
  • Loading branch information
mvieth authored Feb 7, 2025
1 parent 71f233a commit 34d096c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .dev/docker/perception_pcl_ros/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# flavor appears twice, once for the FOR, once for the contents since
# Dockerfile seems to reset arguments after a FOR appears
ARG flavor="melodic"
ARG flavor="noetic"
FROM ros:${flavor}-robot

ARG flavor="melodic"
ARG flavor="noetic"
ARG workspace="/root/catkin_ws"

COPY ${flavor}_rosinstall.yaml ${workspace}/src/.rosinstall
Expand All @@ -17,10 +17,12 @@ COPY ${flavor}_rosinstall.yaml ${workspace}/src/.rosinstall
RUN sed -i "s/^# deb-src/deb-src/" /etc/apt/sources.list \
&& apt update \
&& apt install -y \
git \
libboost-iostreams-dev \
libeigen3-dev \
libflann-dev \
libqhull-dev \
python-pip \
python3-pip \
ros-${flavor}-tf2-eigen \
&& pip install -U pip \
&& pip install catkin_tools \
Expand Down
12 changes: 12 additions & 0 deletions .dev/docker/perception_pcl_ros/noetic_rosinstall.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- git:
local-name: 'noetic/perception_pcl'
uri: 'https://github.com/ros-perception/perception_pcl'
version: 'melodic-devel'
- git:
local-name: 'noetic/pcl_msgs'
uri: 'https://github.com/ros-perception/pcl_msgs'
version: 'noetic-devel'
- git:
local-name: 'pcl'
uri: 'https://github.com/PointCloudLibrary/pcl'
version: 'master'

0 comments on commit 34d096c

Please sign in to comment.