Last active
September 2, 2025 22:50
-
-
Save WizardlyBump17/f1dd5d219861779c18cc3dd33f2575a1 to your computer and use it in GitHub Desktop.
The minimal packages needed to use an Intel Arc GPU under a container. The official driver installation is from https://dgpu-docs.intel.com/driver/client/overview.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM docker.io/ubuntu:24.04 | |
| RUN apt update | |
| RUN apt upgrade -y | |
| RUN apt install -y software-properties-common | |
| RUN add-apt-repository -y ppa:kobuk-team/intel-graphics | |
| #add libze-intel-gpu1 if you want to run stuff like Ollama and use `export ONEAPI_DEVICE_SELECTOR=level_zero:0` | |
| RUN apt install -y \ | |
| libze1 \ | |
| intel-opencl-icd \ | |
| clinfo | |
| CMD ["bash"] |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To add the Intel Arc GPU to the container, add the
/dev/dri/as a device either by--deviceor thedeviceslist on the docker-compose.yaml