docker: use nonfree intel media drivers

This commit is contained in:
Koushik Dutta
2023-06-09 16:16:06 -07:00
parent 3f2a62c6f2
commit 99cae0ba31
2 changed files with 6 additions and 6 deletions

View File

@@ -111,9 +111,9 @@ RUN bash -c "if [ \"$(uname -m)\" == \"x86_64\" ]; \
rm -f /usr/share/keyrings/intel-graphics.gpg && \
curl -L https://repositories.intel.com/graphics/intel-graphics.key | gpg --dearmor --output /usr/share/keyrings/intel-graphics.gpg && \
echo 'deb [arch=amd64,i386 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/graphics/ubuntu jammy arc' | tee /etc/apt/sources.list.d/intel.gpu.jammy.list && \
apt-get -y install \
intel-opencl-icd && \
apt-get -y update && apt-get -y dist-upgrade; \
apt-get -y update && \
apt-get -y install intel-opencl-icd intel-media-va-driver-non-free && \
apt-get -y dist-upgrade; \
fi"
ENV SCRYPTED_INSTALL_ENVIRONMENT="docker"

View File

@@ -10,9 +10,9 @@ RUN bash -c "if [ \"$(uname -m)\" == \"x86_64\" ]; \
rm -f /usr/share/keyrings/intel-graphics.gpg && \
curl -L https://repositories.intel.com/graphics/intel-graphics.key | gpg --dearmor --output /usr/share/keyrings/intel-graphics.gpg && \
echo 'deb [arch=amd64,i386 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/graphics/ubuntu jammy arc' | tee /etc/apt/sources.list.d/intel.gpu.jammy.list && \
apt-get -y install \
intel-opencl-icd && \
apt-get -y update && apt-get -y dist-upgrade; \
apt-get -y update && \
apt-get -y install intel-opencl-icd intel-media-va-driver-non-free && \
apt-get -y dist-upgrade; \
fi"
ENV SCRYPTED_INSTALL_ENVIRONMENT="docker"