-
Notifications
You must be signed in to change notification settings - Fork 545
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'humble' into mergify/bp/humble/pr-1813
- Loading branch information
Showing
155 changed files
with
2,258 additions
and
831 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -6,6 +6,8 @@ FROM ros:${ROS_DISTRO}-ros-base | |
LABEL maintainer Robert Haschke [email protected] | ||
|
||
ENV TERM xterm | ||
# Allow non-interactive installation of ros-humble-rmw-connextdds | ||
ENV RTI_NC_LICENSE_ACCEPTED yes | ||
|
||
# Setup (temporary) ROS workspace | ||
WORKDIR /root/ws_moveit | ||
|
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 |
---|---|---|
|
@@ -5,6 +5,9 @@ ARG ROS_DISTRO=rolling | |
FROM ros:${ROS_DISTRO}-ros-base | ||
LABEL maintainer Robert Haschke [email protected] | ||
|
||
# Allow non-interactive installation of ros-humble-rmw-connextdds | ||
ENV RTI_NC_LICENSE_ACCEPTED yes | ||
|
||
# Commands are combined in single RUN statement with "apt/lists" folder removal to reduce image size | ||
RUN apt-get update -q && \ | ||
apt-get upgrade -q -y && \ | ||
|
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
# Downloads the moveit source code and install remaining debian dependencies | ||
|
||
ARG ROS_DISTRO=rolling | ||
FROM moveit/moveit2:${ROS_DISTRO}-ci-testing | ||
FROM moveit/moveit2:${ROS_DISTRO}-ci | ||
LABEL maintainer Robert Haschke [email protected] | ||
|
||
# Export ROS_UNDERLAY for downstream docker containers | ||
|
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# syntax = docker/dockerfile:1.3 | ||
|
||
# ghcr.io/moveit/moveit2:main-${ROS_DISTRO}-tutorial-source | ||
# Source build of the repos file from the tutorial site | ||
|
||
ARG ROS_DISTRO=humble | ||
|
||
FROM moveit/moveit2:${ROS_DISTRO}-ci | ||
LABEL maintainer Tyler Weaver [email protected] | ||
|
||
# Export ROS_UNDERLAY for downstream docker containers | ||
ENV ROS_UNDERLAY /root/ws_moveit/install | ||
WORKDIR $ROS_UNDERLAY/.. | ||
|
||
# Copy MoveIt sources from docker context | ||
COPY . src/moveit2 | ||
|
||
# Commands are combined in single RUN statement with "apt/lists" folder removal to reduce image size | ||
# https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#minimize-the-number-of-layers | ||
RUN --mount=type=cache,target=/root/.ccache/,sharing=locked \ | ||
# Enable ccache | ||
PATH=/usr/lib/ccache:$PATH && \ | ||
# Checkout the tutorial repo | ||
git clone -b ${ROS_DISTRO} https://github.com/moveit/moveit2_tutorials src/moveit2_tutorials && \ | ||
# Fetch required upstream sources for building | ||
vcs import --skip-existing src < src/moveit2_tutorials/moveit2_tutorials.repos && \ | ||
# Source ROS install | ||
. "/opt/ros/${ROS_DISTRO}/setup.sh" &&\ | ||
# Install dependencies from rosdep | ||
apt-get -q update && \ | ||
rosdep update && \ | ||
DEBIAN_FRONTEND=noninteractive \ | ||
rosdep install -y --from-paths src --ignore-src --rosdistro ${ROS_DISTRO} --as-root=apt:false && \ | ||
rm -rf /var/lib/apt/lists/* && \ | ||
# Build the workspace | ||
colcon build \ | ||
--cmake-args "-DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DCMAKE_EXPORT_COMPILE_COMMANDS=ON --no-warn-unused-cli" \ | ||
--ament-cmake-args -DCMAKE_BUILD_TYPE=Release \ | ||
--event-handlers desktop_notification- status- && \ | ||
ccache -s && \ | ||
# | ||
# Update /ros_entrypoint.sh to source our new workspace | ||
sed -i "s#/opt/ros/\$ROS_DISTRO/setup.bash#$ROS_UNDERLAY/setup.sh#g" /ros_entrypoint.sh |
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
Oops, something went wrong.