Skip to content

Commit

Permalink
feat: add cyclonedds to all images
Browse files Browse the repository at this point in the history
  • Loading branch information
hmiranda-queiros committed Aug 31, 2024
1 parent 7df28ec commit 2d04653
Show file tree
Hide file tree
Showing 17 changed files with 20 additions and 4,291 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/docker_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,6 @@ jobs:
target: gazebo_nvidia
tag: humble-jetson
platform: linux/arm64
- dockerfile: ./docker_humble_jetson_torch/Dockerfile
context: ./docker_humble_jetson_torch
target: gazebo_nvidia
tag: humble-jetson-torch
platform: linux/arm64

permissions:
contents: read
Expand Down
6 changes: 5 additions & 1 deletion docker_foxy_desktop/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ RUN /etc/init.d/udev restart
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y --no-install-recommends \
ros-${ROS_DISTRO}-behaviortree-cpp-v3 \
ros-${ROS_DISTRO}-xacro
ros-${ROS_DISTRO}-xacro \
ros-${ROS_DISTRO}-rmw-cyclonedds-cpp

WORKDIR /home/$USERNAME

Expand All @@ -131,6 +132,9 @@ RUN usermod -aG dialout $USERNAME
# Allow non-root user to access the video devices
RUN usermod -aG video $USERNAME

# Add RMW_IMPLEMENTATION to .bashrc
RUN echo "export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp" >> /home/${USERNAME}/.bashrc

# Clean up
RUN rm -rf /var/lib/apt/lists/*

Expand Down
6 changes: 5 additions & 1 deletion docker_foxy_jetson/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ RUN apt-get update && apt-get upgrade -y
RUN apt-get purge -y '*opencv*'
RUN apt-get install -y --no-install-recommends \
ros-${ROS_DISTRO}-behaviortree-cpp-v3 \
ros-${ROS_DISTRO}-xacro
ros-${ROS_DISTRO}-xacro \
ros-${ROS_DISTRO}-rmw-cyclonedds-cpp

WORKDIR /home/$USERNAME

Expand All @@ -125,6 +126,9 @@ RUN usermod -aG dialout $USERNAME
# Allow non-root user to access the video devices
RUN usermod -aG video $USERNAME

# Add RMW_IMPLEMENTATION to .bashrc
RUN echo "export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp" >> /home/${USERNAME}/.bashrc

# Clean up
RUN rm -rf /var/lib/apt/lists/*

Expand Down
6 changes: 5 additions & 1 deletion docker_humble_desktop/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ RUN /etc/init.d/udev restart
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y --no-install-recommends \
ros-${ROS_DISTRO}-behaviortree-cpp-v3 \
ros-${ROS_DISTRO}-xacro
ros-${ROS_DISTRO}-xacro \
ros-${ROS_DISTRO}-rmw-cyclonedds-cpp

WORKDIR /home/$USERNAME

Expand All @@ -131,6 +132,9 @@ RUN usermod -aG dialout $USERNAME
# Allow non-root user to access the video devices
RUN usermod -aG video $USERNAME

# Add RMW_IMPLEMENTATION to .bashrc
RUN echo "export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp" >> /home/${USERNAME}/.bashrc

# Clean up
RUN rm -rf /var/lib/apt/lists/*

Expand Down
6 changes: 5 additions & 1 deletion docker_humble_jetson/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ RUN apt-get update && apt-get upgrade -y
RUN apt-get purge -y '*opencv*'
RUN apt-get install -y --no-install-recommends \
ros-${ROS_DISTRO}-behaviortree-cpp-v3 \
ros-${ROS_DISTRO}-xacro
ros-${ROS_DISTRO}-xacro \
ros-${ROS_DISTRO}-rmw-cyclonedds-cpp

WORKDIR /home/$USERNAME

Expand All @@ -125,6 +126,9 @@ RUN usermod -aG dialout $USERNAME
# Allow non-root user to access the video devices
RUN usermod -aG video $USERNAME

# Add RMW_IMPLEMENTATION to .bashrc
RUN echo "export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp" >> /home/${USERNAME}/.bashrc

# Clean up
RUN rm -rf /var/lib/apt/lists/*

Expand Down
173 changes: 0 additions & 173 deletions docker_humble_jetson_torch/Dockerfile

This file was deleted.

Loading

0 comments on commit 2d04653

Please sign in to comment.