fix arm32 build

This commit is contained in:
Blake Blackshear 2022-11-23 10:48:26 -06:00
parent 39b7f4f73e
commit 659b8ac305
2 changed files with 3 additions and 2 deletions

View File

@ -41,6 +41,7 @@ RUN --mount=type=bind,source=docker/install_s6_overlay.sh,target=/deps/install_s
FROM base AS wheels
ARG DEBIAN_FRONTEND
ARG TARGETARCH
# Use a separate container to build wheels to prevent build dependencies in final image
RUN apt-get -qq update \
@ -145,7 +146,7 @@ CMD ["sleep", "infinity"]
# Frigate web build
FROM deps-node AS web-build
FROM --platform=linux/amd64 deps-node AS web-build
WORKDIR /work
COPY web/package.json web/package-lock.json ./

View File

@ -69,7 +69,7 @@ if [[ "${TARGETARCH}" == "arm" ]]; then
libgtk-3-dev \
libavcodec-dev libavformat-dev libswscale-dev libv4l-dev \
libxvidcore-dev libx264-dev libjpeg-dev libpng-dev libtiff-dev \
gfortran openexr libatlas-base-dev libssl-devlibtbb2 libtbb-dev libdc1394-22-dev libopenexr-dev \
gfortran openexr libatlas-base-dev libtbb-dev libdc1394-22-dev libopenexr-dev \
libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev
fi