Consolidate HailoRT into the main Docker Image (#16487)

* Simplify main build to include hailo

* Update docs

* Remove hailo docker build
This commit is contained in:
Nicolas Mowen
2025-02-11 09:08:13 -07:00
committed by GitHub
parent 4ef6214029
commit b594f198a9
10 changed files with 32 additions and 150 deletions
+4
View File
@@ -170,6 +170,9 @@ RUN /build_pysqlite3.sh
COPY docker/main/requirements-wheels.txt /requirements-wheels.txt
RUN pip3 wheel --wheel-dir=/wheels -r /requirements-wheels.txt
# Install HailoRT & Wheels
RUN --mount=type=bind,source=docker/main/install_hailort.sh,target=/deps/install_hailort.sh \
/deps/install_hailort.sh
# Collect deps in a single layer
FROM scratch AS deps-rootfs
@@ -180,6 +183,7 @@ COPY --from=libusb-build /usr/local/lib /usr/local/lib
COPY --from=tempio /rootfs/ /
COPY --from=s6-overlay /rootfs/ /
COPY --from=models /rootfs/ /
COPY --from=wheels /rootfs/ /
COPY docker/main/rootfs/ /