mirror of
https://github.com/ManimCommunity/manim.git
synced 2026-06-22 10:01:47 +00:00
* docker: add libgl1 runtime dependency for OpenGL * docker: tighten .dockerignore for smaller build context * docs(docker): add runtime notes for latest image * docs(docker): note ctex is not included by default --------- Co-authored-by: Francisco Manríquez Novoa <49853152+chopan050@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| Dockerfile | ||
| readme.md | ||
| texlive-profile.txt | ||
See the main README for some instructions on how to use this image.
Building the image
The docker image corresponding to the checked out version of the git repository can be built by running
docker build -t manimcommunity/manim:TAG -f docker/Dockerfile .
from the root directory of the repository.
Multi-platform builds are possible by running
docker buildx build --push --platform linux/arm64/v8,linux/amd64 --tag manimcommunity/manim:TAG -f docker/Dockerfile .
from the root directory of the repository.
Runtime notes
- The image is built via a multi-stage Dockerfile (build dependencies are not carried into the runtime stage).
- The image does not include the
ffmpegCLI binary. - The default TeX installation is minimal and does not include
ctex. - Headless OpenGL rendering relies on EGL/GL runtime libraries available in the image.