mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-03-04 00:17:22 +01:00
Fix cuda targetarch (#16869)
This commit is contained in:
parent
8d2f461350
commit
06d6e21de8
@ -8,6 +8,7 @@ ARG TRT_BASE=nvcr.io/nvidia/tensorrt:23.12-py3
|
|||||||
# Build TensorRT-specific library
|
# Build TensorRT-specific library
|
||||||
FROM ${TRT_BASE} AS trt-deps
|
FROM ${TRT_BASE} AS trt-deps
|
||||||
|
|
||||||
|
ARG TARGETARCH
|
||||||
ARG COMPUTE_LEVEL
|
ARG COMPUTE_LEVEL
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
@ -25,7 +26,6 @@ RUN if [ "$TARGETARCH" = "amd64" ]; then \
|
|||||||
|
|
||||||
# Frigate w/ TensorRT Support as separate image
|
# Frigate w/ TensorRT Support as separate image
|
||||||
FROM deps AS tensorrt-base
|
FROM deps AS tensorrt-base
|
||||||
ARG TARGETARCH
|
|
||||||
|
|
||||||
#Disable S6 Global timeout
|
#Disable S6 Global timeout
|
||||||
ENV S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0
|
ENV S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0
|
||||||
|
Loading…
Reference in New Issue
Block a user