Skip to content

Instantly share code, notes, and snippets.

@WizardlyBump17
Created September 2, 2025 22:46
Show Gist options
  • Select an option

  • Save WizardlyBump17/f8a36f0197f7d2bdad957a2a0046d023 to your computer and use it in GitHub Desktop.

Select an option

Save WizardlyBump17/f8a36f0197f7d2bdad957a2a0046d023 to your computer and use it in GitHub Desktop.
The minimal packages needed to use an Intel Arc GPU under a container + oneAPI. The official driver installation guide can be found at https://dgpu-docs.intel.com/driver/client/overview.html and the installation guide for oneAPI can be found at https://www.intel.com/content/www/us/en/docs/oneapi/installation-guide-linux/2025-2/base-apt.html#BASE…
#base image built from https://gist.github.com/WizardlyBump17/f1dd5d219861779c18cc3dd33f2575a1
FROM localhost/intel-gpu-driver-minimal
RUN apt update \
&& apt upgrade -y \
&& apt install -y \
wget \
build-essential
RUN wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB \
| gpg --dearmor | tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null \
&& echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | tee /etc/apt/sources.list.d/oneAPI.list \
&& apt update
RUN apt install -y intel-oneapi-base-toolkit
CMD ["bash"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment