mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-01-31 00:18:55 +01:00
0ee2e404da
* Correctly calculate ffmpeg version based on ffmpeg path * Formatting
17 lines
400 B
Docker
17 lines
400 B
Docker
# syntax=docker/dockerfile:1.4
|
|
|
|
# https://askubuntu.com/questions/972516/debian-frontend-environment-variable
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
FROM deps AS rpi-deps
|
|
ARG TARGETARCH
|
|
|
|
RUN rm -rf /usr/lib/btbn-ffmpeg/
|
|
|
|
# Install dependencies
|
|
RUN --mount=type=bind,source=docker/rpi/install_deps.sh,target=/deps/install_deps.sh \
|
|
/deps/install_deps.sh
|
|
|
|
WORKDIR /opt/frigate/
|
|
COPY --from=rootfs / /
|