Skip to content

Commit dfc5795

Browse files
committed
build: ignore errors for deps that are not available in arm64
1 parent 7fabde5 commit dfc5795

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

docker/Dockerfile

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ RUN apt-get update && apt-get install -y \
5858
libva-dev \
5959
libva-drm2 \
6060
libva-x11-2 \
61-
vainfo \
62-
i965-va-driver \
61+
vainfo \
6362
mesa-va-drivers \
63+
&& (apt-get install -y i965-va-driver || true) \
6464
&& (apt-get install -y intel-media-va-driver-non-free || \
6565
apt-get install -y intel-media-va-driver || true) \
6666
&& rm -rf /var/lib/apt/lists/*
@@ -90,10 +90,9 @@ RUN if [ -n "${NVIDIA_DRIVER_VERSION}" ]; then \
9090
rm -rf /var/lib/apt/lists/*; \
9191
fi
9292

93-
# Intel QuickSync support via Media SDK and oneVPL
94-
RUN apt-get update && apt-get install -y \
95-
libmfx1 \
96-
libmfx-tools \
93+
# Intel QuickSync support via Media SDK and oneVPL (x86_64 only)
94+
RUN apt-get update \
95+
&& (apt-get install -y libmfx1 libmfx-tools || true) \
9796
&& (apt-get install -y libmfx-gen1.2 || true) \
9897
&& (apt-get install -y libvpl-dev libvpl2 || true) \
9998
&& rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)