mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-13 06:35:24 +03:00
Update dockerfile to download the ssd_modilenet_v1 model instead of having it in the repo.
This commit is contained in:
parent
409ac41de2
commit
511b446631
@ -78,7 +78,7 @@ COPY --from=h8l-wheels /h8l-wheels /deps/h8l-wheels
|
|||||||
COPY --from=build-hailort /hailo-wheels /deps/hailo-wheels
|
COPY --from=build-hailort /hailo-wheels /deps/hailo-wheels
|
||||||
COPY --from=build-hailort /etc/environment /etc/environment
|
COPY --from=build-hailort /etc/environment /etc/environment
|
||||||
RUN mkdir /hailo8l_models
|
RUN mkdir /hailo8l_models
|
||||||
COPY docker/hailo8l/ssd_mobilenet_v1.hef /hailo8l_models/
|
RUN wget -O /hailo8l_models/ssd_mobilenet_v1.hef https://hailo-model-zoo.s3.eu-west-2.amazonaws.com/ModelZoo/Compiled/v2.11.0/hailo8l/ssd_mobilenet_v1.hef
|
||||||
RUN CC=$(python3 -c "import sysconfig; import shlex; cc = sysconfig.get_config_var('CC'); cc_cmd = shlex.split(cc)[0]; print(cc_cmd[:-4] if cc_cmd.endswith('-gcc') else cc_cmd)") && \
|
RUN CC=$(python3 -c "import sysconfig; import shlex; cc = sysconfig.get_config_var('CC'); cc_cmd = shlex.split(cc)[0]; print(cc_cmd[:-4] if cc_cmd.endswith('-gcc') else cc_cmd)") && \
|
||||||
echo "CC=$CC" >> /etc/environment
|
echo "CC=$CC" >> /etc/environment
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Loading…
Reference in New Issue
Block a user