[Update] Remove dependencies installation from main Dockerfile

- remove deps installation from Dockerfile
- add dependencies installation and split wheels, deps stage in synap1680 Dockerfile
This commit is contained in:
GaryHuang-ASUS
2025-09-12 17:45:59 +08:00
parent 9514cebce9
commit 49c15ce6c3
3 changed files with 24 additions and 7 deletions
-3
View File
@@ -195,9 +195,6 @@ 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
#Install Synaptics SL1680 runtime library and wheels
RUN --mount=type=bind,source=docker/main/install_synap1680.sh,target=/deps/install_synap1680.sh \
/deps/install_synap1680.sh
# Collect deps in a single layer
FROM scratch AS deps-rootfs