WIP: backport message flow tracing to foxy
This commit is contained in:
parent
1ed67d4a7d
commit
bd2620ef8d
34 changed files with 221 additions and 53 deletions
27
Dockerfile
27
Dockerfile
|
@ -37,11 +37,8 @@ RUN apt-get update -q && \
|
|||
apt-get install -yq --no-install-recommends \
|
||||
apt-utils wget curl git build-essential vim sudo \
|
||||
lsb-release locales bash-completion tzdata gosu \
|
||||
gedit htop nano libserial-dev ninja-build clang-18
|
||||
|
||||
# Update packages and install dependencies
|
||||
RUN apt-get update && \
|
||||
apt-get install -y software-properties-common curl build-essential && \
|
||||
gedit htop nano libserial-dev ninja-build clang-18 \
|
||||
software-properties-common && \
|
||||
add-apt-repository ppa:deadsnakes/ppa && \
|
||||
apt-get update && \
|
||||
apt-get install -y \
|
||||
|
@ -57,7 +54,8 @@ RUN apt-get update && \
|
|||
# These packages help with building and managing ROS 2 workspaces
|
||||
RUN apt-get update -q && \
|
||||
apt-get install -y gnupg2 iputils-ping usbutils \
|
||||
python3-argcomplete python3-colcon-common-extensions python3-networkx python3-pip python3-rosdep python3-vcstool
|
||||
python3-argcomplete python3-colcon-common-extensions \
|
||||
python3-networkx python3-pip python3-rosdep python3-vcstool
|
||||
|
||||
# Set up the ROS 2 environment
|
||||
# This ensures that ROS 2 commands are available in the shell
|
||||
|
@ -72,18 +70,13 @@ RUN curl -sS https://bootstrap.pypa.io/pip/3.8/get-pip.py | python3.8
|
|||
# Set Python 3.8 as default Python3
|
||||
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1
|
||||
|
||||
# Install modern nodejs (optional but good practice for JupyterLab widgets)
|
||||
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
|
||||
apt-get install -y nodejs && \
|
||||
npm install -g npm
|
||||
|
||||
# Install JupyterLab globally
|
||||
RUN python3 -m pip install --upgrade jupyterlab
|
||||
|
||||
# Install dependencies for ros2_tracing
|
||||
RUN apt-get update -q && \
|
||||
apt-get install -y lttng-tools lttng-modules-dkms liblttng-ust-dev
|
||||
RUN apt-get install -y python3-babeltrace python3-lttng python3-pytest python3-pytest-cov python3-pandas
|
||||
RUN add-apt-repository ppa:lttng/stable-2.13 && \
|
||||
apt-get update -q && \
|
||||
apt-get install -y lttng-tools lttng-modules-dkms liblttng-ust-dev && \
|
||||
apt-get install -y python3-babeltrace python3-lttng python3-pytest \
|
||||
python3-pytest-cov python3-pandas ros-foxy-rmw-cyclonedds-cpp && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Python bokeh is not available in the default apt repository
|
||||
# So we install it using pip
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue