Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add dependencies for ros2 SSC #208

Merged
merged 5 commits into from
Nov 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions humble/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ RUN apt-get update && apt-get install -y \
RUN curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg && \
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) main" | tee /etc/apt/sources.list.d/ros2.list > /dev/null

# Install ROS2 packages

# Install AutonomouStuff dependencies
RUN sh -c 'echo "deb [trusted=yes] https://s3.amazonaws.com/autonomoustuff-repo/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/autonomoustuff-public.list'

# Install ROS2 packages
RUN apt-get update && \
apt-get install -y $(cat /tmp/ros_packages.txt)

Expand All @@ -38,7 +42,7 @@ RUN pip3 install --no-cache-dir vcstool setuptools pybind11
# Install Java 17
RUN apt-get update && apt-get install -y openjdk-17-jdk

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

# Install SonarQube scanner
Expand Down
1 change: 1 addition & 0 deletions humble/ros_packages.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ ros-humble-udp-driver
ros-humble-udp-msgs
ros-humble-velodyne-pointcloud
ros-humble-yaml-cpp-vendor
ros-humble-pacmod3-msgs
5 changes: 3 additions & 2 deletions noetic-foxy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ ARG ROS_DEPS="apt-transport-https \
ros-foxy-nmea-msgs \
ros-foxy-gps-tools \
ros-foxy-rosbag2-storage-mcap \
ros-foxy-pacmod3-msgs \
ros-noetic-costmap-2d \
ros-noetic-dataspeed-can \
ros-noetic-dbw-mkz \
Expand Down Expand Up @@ -191,12 +192,12 @@ RUN sed -i 's|http://archive.ubuntu.com|http://us.archive.ubuntu.com|g' /etc/apt
export LANG=en_US.UTF-8 && \
# Install Sonar dependency nodejs
curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
# Install ROS 2 Foxy
apt-get install --no-install-recommends --yes ${AUTOWAREAUTO_DEPS} ${ROS_DEPS} && \
# Install AutonomouStuff dependencies
sh -c 'echo "deb [trusted=yes] https://s3.amazonaws.com/autonomoustuff-repo/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/autonomoustuff-public.list' && \
apt-get update && \
apt-get install --no-install-recommends --yes libas-common && \
# Install ROS 2 Foxy
apt-get install --no-install-recommends --yes ${AUTOWAREAUTO_DEPS} ${ROS_DEPS} && \
# Vimba Deps
add-apt-repository --update --yes ppa:rock-core/qt4 && \
apt-get install --fix-missing --no-install-recommends --yes libqtcore4 libqt4-network libqt4-qt3support && \
Expand Down