mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-01-02 00:07:11 +01:00
Fix extraction of Hailo userspace libs (#15187)
The archive already has everything contained in a rootfs folder, extract
it as-is to the root folder. This also reverts changes from
33957e5360
which addressed the same issue
in a less optimal way.
This commit is contained in:
parent
833cdcb6d2
commit
5475672a9d
@ -36,8 +36,5 @@ RUN pip3 install -U /deps/hailo-wheels/*.whl
|
|||||||
# Copy base files from the rootfs stage
|
# Copy base files from the rootfs stage
|
||||||
COPY --from=rootfs / /
|
COPY --from=rootfs / /
|
||||||
|
|
||||||
# Set Library path for hailo driver
|
|
||||||
ENV LD_LIBRARY_PATH=/rootfs/usr/local/lib/
|
|
||||||
|
|
||||||
# Set workdir
|
# Set workdir
|
||||||
WORKDIR /opt/frigate/
|
WORKDIR /opt/frigate/
|
||||||
|
@ -10,10 +10,8 @@ elif [[ "${TARGETARCH}" == "arm64" ]]; then
|
|||||||
arch="aarch64"
|
arch="aarch64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p /rootfs
|
|
||||||
|
|
||||||
wget -qO- "https://github.com/frigate-nvr/hailort/releases/download/v${hailo_version}/hailort-${TARGETARCH}.tar.gz" |
|
wget -qO- "https://github.com/frigate-nvr/hailort/releases/download/v${hailo_version}/hailort-${TARGETARCH}.tar.gz" |
|
||||||
tar -C /rootfs/ -xzf -
|
tar -C / -xzf -
|
||||||
|
|
||||||
mkdir -p /hailo-wheels
|
mkdir -p /hailo-wheels
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user