mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
16 lines
652 B
Docker
16 lines
652 B
Docker
FROM ubuntu:20.04
|
|
|
|
ARG APT="env DEBIAN_FRONTEND=noninteractive apt"
|
|
|
|
RUN ${APT} update && ${APT} install -y curl gpg-agent \
|
|
&& echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/graphics/ubuntu focal main' | \
|
|
tee -a /etc/apt/sources.list.d/intel.list \
|
|
&& curl -s https://repositories.intel.com/graphics/intel-graphics.key | \
|
|
gpg --dearmor --output /usr/share/keyrings/intel-graphics.gpg \
|
|
&& ${APT} update \
|
|
&& ${APT} install -y --no-install-recommends \
|
|
intel-opencl-icd \
|
|
clinfo \
|
|
&& ${APT} remove -y curl gpg-agent \
|
|
&& ${APT} autoremove -y
|