Skip to content

Build rmw_zenoh 0.2.3 from source #70

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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 Dockerfile.estimator
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ ARG MODEL_DIR=models

ADD ibpc_interfaces /opt/ros/underlay/src/ibpc_interfaces

# Install rmw_zenoh pinned at 0.2.3 from source.
RUN cd /opt/ros/underlay/src/ \
&& git clone https://github.com/ros2/rmw_zenoh && cd rmw_zenoh && git checkout 0.2.3 && cd ../../

RUN . /opt/ros/jazzy/setup.sh \
&& apt-get update \
&& rosdep update \
Expand All @@ -38,7 +42,7 @@ ARG SERVICE_PACKAGE=ibpc_pose_estimator_py
ARG SERVICE_EXECUTABLE_NAME=ibpc_pose_estimator

RUN apt-get update \
&& apt install -y ros-jazzy-rmw-zenoh-cpp \
&& apt install -y \
&& rm -rf /var/lib/apt/lists/*

ADD ${SERVICE_PACKAGE} /opt/ros/overlay/src/${SERVICE_PACKAGE}
Expand All @@ -59,7 +63,7 @@ ARG SERVICE_EXECUTABLE_NAME=ibpc_pose_estimator

RUN apt-get update \
&& apt upgrade -y \
&& apt install -y ros-jazzy-rmw-zenoh-cpp python3-imageio python3-png python3-pip python3-scipy \
&& apt install -y python3-imageio python3-png python3-pip python3-scipy \
&& rm -rf /var/lib/apt/lists/*

COPY --from=overlay /opt/ros/underlay/install /opt/ros/underlay/install
Expand Down
10 changes: 5 additions & 5 deletions Dockerfile.tester
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ FROM base AS underlay

ADD ibpc_interfaces /opt/ros/underlay/src/ibpc_interfaces

# Install rmw_zenoh pinned at 0.2.3 from source.
RUN cd /opt/ros/underlay/src/ \
&& git clone https://github.com/ros2/rmw_zenoh && cd rmw_zenoh && git checkout 0.2.3 && cd ../../

RUN . /opt/ros/jazzy/setup.sh \
&& apt-get update \
&& rosdep update \
Expand All @@ -22,10 +26,6 @@ RUN . /opt/ros/jazzy/setup.sh \

FROM underlay AS overlay

RUN apt-get update \
&& apt install -y ros-jazzy-rmw-zenoh-cpp \
&& rm -rf /var/lib/apt/lists/*

ADD ibpc_tester /opt/ros/overlay/src/ibpc_tester

RUN . /opt/ros/jazzy/setup.sh \
Expand All @@ -43,7 +43,7 @@ FROM base

RUN apt-get update \
&& apt upgrade -y \
&& apt install -y ros-jazzy-rmw-zenoh-cpp python3-imageio python3-pandas python3-png python3-pip python3-scipy \
&& apt install -y python3-imageio python3-pandas python3-png python3-pip python3-scipy \
&& rm -rf /var/lib/apt/lists/*

# TODO remove deprecated pytz usage
Expand Down
Loading