mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Merge remote-tracking branch 'origin/master' into dev
This commit is contained in:
commit
253061ee5f
@ -94,7 +94,9 @@ RUN --mount=type=bind,from=wheels,source=/wheels,target=/wheels \
|
|||||||
fi \
|
fi \
|
||||||
# arch specific packages
|
# arch specific packages
|
||||||
&& if [ "${TARGETARCH}" = "amd64" ]; then \
|
&& if [ "${TARGETARCH}" = "amd64" ]; then \
|
||||||
apt-get -qq install --no-install-recommends --no-install-suggests -y \
|
echo 'deb http://deb.debian.org/debian testing main non-free' >> /etc/apt/sources.list.d/deb.list \
|
||||||
|
&& apt-get -qq update \
|
||||||
|
&& apt-get -qq install --no-install-recommends --no-install-suggests -y \
|
||||||
mesa-va-drivers libva-drm2 intel-media-va-driver-non-free i965-va-driver libmfx1; \
|
mesa-va-drivers libva-drm2 intel-media-va-driver-non-free i965-va-driver libmfx1; \
|
||||||
fi \
|
fi \
|
||||||
&& if [ "${TARGETARCH}" = "arm64" ]; then \
|
&& if [ "${TARGETARCH}" = "arm64" ]; then \
|
||||||
|
@ -58,6 +58,7 @@ services:
|
|||||||
devices:
|
devices:
|
||||||
- driver: nvidia
|
- driver: nvidia
|
||||||
device_ids: ['0'] # this is only needed when using multiple GPUs
|
device_ids: ['0'] # this is only needed when using multiple GPUs
|
||||||
|
count: 1 # number of GPUs
|
||||||
capabilities: [gpu]
|
capabilities: [gpu]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user