[Feat] Add dependencies installation in docker build

- Add runtime library and wheels installation in main/Dockerfile
- Add model.synap(default model, transfer from mobilenet_224full80) in docker/synap1680
This commit is contained in:
GaryHuang-ASUS
2025-09-12 09:11:14 +08:00
parent 4fb5a22817
commit 9514cebce9
7 changed files with 115 additions and 0 deletions
+3
View File
@@ -195,6 +195,9 @@ 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
+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
set -euxo pipefail
if [[ "${TARGETARCH}" == "amd64" ]]; then
arch="x86_64"
elif [[ "${TARGETARCH}" == "arm64" ]]; then
arch="aarch64"
fi
wget -qO- "https://github.com/GaryHuang-ASUS/frigate-synaptics-rt/releases/download/v1.5.0-1.0/synaptics-rt-1.0.tar" | tar -C / -xzf -
wget -P /wheels/ "https://github.com/synaptics-synap/synap-python/releases/download/v0.0.4-preview/synap_python-0.0.4-cp311-cp311-manylinux_2_35_aarch64.whl"