mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-18 00:54:27 +03:00
Get hailo build working
This commit is contained in:
parent
eb6e065106
commit
bddfb897e1
@ -5,6 +5,7 @@ ARG DEBIAN_FRONTEND=noninteractive
|
|||||||
# Build Python wheels
|
# Build Python wheels
|
||||||
FROM wheels AS h8l-wheels
|
FROM wheels AS h8l-wheels
|
||||||
|
|
||||||
|
RUN python3 -m pip config set global.break-system-packages true
|
||||||
COPY docker/main/requirements-wheels.txt /requirements-wheels.txt
|
COPY docker/main/requirements-wheels.txt /requirements-wheels.txt
|
||||||
COPY docker/hailo8l/requirements-wheels-h8l.txt /requirements-wheels-h8l.txt
|
COPY docker/hailo8l/requirements-wheels-h8l.txt /requirements-wheels-h8l.txt
|
||||||
|
|
||||||
@ -30,6 +31,7 @@ COPY --from=hailort /hailo-wheels /deps/hailo-wheels
|
|||||||
COPY --from=hailort /rootfs/ /
|
COPY --from=hailort /rootfs/ /
|
||||||
|
|
||||||
# Install the wheels
|
# Install the wheels
|
||||||
|
RUN python3 -m pip config set global.break-system-packages true
|
||||||
RUN pip3 install -U /deps/h8l-wheels/*.whl
|
RUN pip3 install -U /deps/h8l-wheels/*.whl
|
||||||
RUN pip3 install -U /deps/hailo-wheels/*.whl
|
RUN pip3 install -U /deps/hailo-wheels/*.whl
|
||||||
|
|
||||||
|
|||||||
@ -15,5 +15,5 @@ wget -qO- "https://github.com/frigate-nvr/hailort/releases/download/v${hailo_ver
|
|||||||
|
|
||||||
mkdir -p /hailo-wheels
|
mkdir -p /hailo-wheels
|
||||||
|
|
||||||
wget -P /hailo-wheels/ "https://github.com/frigate-nvr/hailort/releases/download/v${hailo_version}/hailort-${hailo_version}-cp39-cp39-linux_${arch}.whl"
|
wget -P /hailo-wheels/ "https://github.com/frigate-nvr/hailort/releases/download/v${hailo_version}/hailort-${hailo_version}-cp311-cp311-linux_${arch}.whl"
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user