-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated the docker file for ros2 humble and it can support OpenVINO 2…
…023.3 LTS Signed-off-by: Sathiyamoorthi, Jayabalaji <[email protected]>
- Loading branch information
Showing
4 changed files
with
14 additions
and
143 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 |
---|---|---|
|
@@ -2,6 +2,9 @@ | |
|
||
from osrf/ros:humble-desktop | ||
|
||
# Set non-interactive mode for APT | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
# setting proxy env --option | ||
# If needed, enable the below ENV setting by correct proxies. | ||
# ENV http_proxy=your_proxy | ||
|
@@ -12,17 +15,21 @@ LABEL maintainer="Jayabalaji Sathiyamoorthi <[email protected] | |
|
||
SHELL ["/bin/bash", "-c"] | ||
|
||
# install OpenVINO 2025.0.0 | ||
# install OpenVINO 2025.0.0 / 2023.3 LTS | ||
#https://docs.openvino.ai/2025/get-started/install-openvino.html?PACKAGE=OPENVINO_BASE&VERSION=v_2025_0_0&OP_SYSTEM=LINUX&DISTRIBUTION=APT | ||
RUN apt update \ | ||
&& apt install curl wget gnupg2 lsb-release | ||
RUN wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB \ | ||
&& apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | ||
RUN echo "deb https://apt.repos.intel.com/openvino/2025 ubuntu22 main" | tee /etc/apt/sources.list.d/intel-openvino-2025.list | ||
#RUN echo "deb https://apt.repos.intel.com/openvino/2025 ubuntu22 main" | tee /etc/apt/sources.list.d/intel-openvino-2025.list | ||
RUN echo "deb https://apt.repos.intel.com/openvino/2024 ubuntu22 main" | tee /etc/apt/sources.list.d/intel-openvino-2024.list | ||
#RUN echo "deb https://apt.repos.intel.com/openvino/2023 ubuntu22 main" | tee /etc/apt/sources.list.d/intel-openvino-2023.list | ||
|
||
RUN apt update \ | ||
&& apt-cache search openvino \ | ||
&& apt-get install -y openvino-2025.0.0 | ||
# && apt-get install -y openvino-2025.0.0 | ||
&& apt-get install -y openvino-2024.2.0 | ||
# && apt-get install -y openvino-2023.3.0 | ||
|
||
# workaround to fetch librealsense2-dkms via ECI repo | ||
RUN bash -c 'echo "deb [trusted=yes] http://wheeljack.ch.intel.com/apt-repos/ECI/$(lsb_release -sc) isar main" > /etc/apt/sources.list.d/eci.list' | ||
|
@@ -45,7 +52,7 @@ RUN curl -sSf https://librealsense.intel.com/Debian/librealsense.pgp | tee /etc/ | |
RUN echo "deb [signed-by=/etc/apt/keyrings/librealsense.pgp] https://librealsense.intel.com/Debian/apt-repo `lsb_release -cs` main" | \ | ||
tee /etc/apt/sources.list.d/librealsense.list | ||
RUN apt-get update | ||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ | ||
RUN apt-get install -y --no-install-recommends \ | ||
# librealsense2-dkms \ # Houston, this is not available in kernel 6.8 | ||
librealsense2-utils \ | ||
librealsense2-dev \ | ||
|
@@ -61,5 +68,5 @@ RUN git clone -b ros2 https://github.com/jb-balaji/ros2_openvino_toolkit.git | |
RUN git clone -b humble https://github.com/ros-perception/vision_opencv.git | ||
WORKDIR /root/ros2_ws | ||
RUN source /opt/ros/humble/setup.bash \ | ||
#&& source /opt/intel/openvino_2025/bin/setupvars.sh \ | ||
&& colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release | ||
|
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 @@ | ||
To Do |
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