frigate/docker/Dockerfile.aarch64

54 lines
1.5 KiB
Docker
Raw Normal View History

2020-09-28 20:29:31 +03:00
FROM frigate-base
LABEL maintainer "blakeb@blakeshome.com"
ENV DEBIAN_FRONTEND=noninteractive
# Install packages for apt repo
RUN apt-get -qq update \
&& apt-get -qq install --no-install-recommends -y \
2021-07-09 15:20:16 +03:00
# ffmpeg runtime dependencies
libgomp1 \
# runtime dependencies
libopenexr24 \
libgstreamer1.0-0 \
libgstreamer-plugins-base1.0-0 \
libopenblas-base \
libjpeg-turbo8 \
libpng16-16 \
libtiff5 \
libdc1394-22 \
2020-09-28 20:29:31 +03:00
&& rm -rf /var/lib/apt/lists/* \
2021-07-09 15:20:16 +03:00
&& (apt-get autoremove -y; apt-get autoclean -y)
# s6-overlay
ADD https://github.com/just-containers/s6-overlay/releases/download/v2.2.0.3/s6-overlay-aarch64-installer /tmp/
RUN chmod +x /tmp/s6-overlay-aarch64-installer && /tmp/s6-overlay-aarch64-installer /
2021-12-13 13:18:06 +03:00
# setup gstreamer
RUN \
apt-get update && apt-get install -y software-properties-common && \
add-apt-repository universe && \
add-apt-repository multiverse && \
apt-get update
RUN \
apt-get install -y gstreamer1.0-tools gstreamer1.0-alsa \
gstreamer1.0-plugins-base gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly
RUN \
apt-get install -y git libgstreamer1.0-dev \
libgstreamer-plugins-base1.0-dev \
libgstreamer-plugins-good1.0-dev \
libgstreamer-plugins-bad1.0-dev
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/aarch64-linux-gnu/tegra
RUN apt-get update && apt-get install -y ffmpeg
2021-07-09 15:20:16 +03:00
ENTRYPOINT ["/init"]
2021-12-13 13:18:06 +03:00
# CMD ["python3", "--version"]
CMD ["python3", "-u", "-m", "frigate"]
COPY frigate frigate/