HUB
Sign inSign up
blender-5-2 logo

swaleio/blender-5-2

By swaleio

•Updated about 8 hours ago

Blender 5.2 LTS for background rendering in Swale workflows. Backs the blender-render-5-2 task.

Image
0

380

swaleio/blender-5-2 repository overview

⁠blender-5-2

Swale-built image backing the blender-render-5-2 task definition. It packages the official Blender⁠ 5.2 LTS Linux build for background (-b) rendering, so a workflow can render a .blend file's frames into the shared workspace — split across as many tasks as the frame range has chunks.

  • Base: ubuntu:24.04
  • Installed: Blender 5.2 LTS from download.blender.org, checked against the SHA-256 Blender publishes beside it, under /opt/blender with blender on PATH; the X11/GL client libraries the binary links against (needed even without a display)
  • User: non-root swale (uid 1000)
  • GPU: NVIDIA_DRIVER_CAPABILITIES=compute,utility, so on a GPU compute type the NVIDIA runtime mounts the driver Cycles needs for CUDA/OPTIX; on CPU compute types the variable is inert
  • WORKDIR /mnt/workspace, ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]

⁠Invocation

The task definition passes no exec.args; the entrypoint assembles the whole Blender command line from the task's inputs (INPUT_* env vars injected by the platform), in the order Blender requires:

Input envEffect
INPUT_SCENEThe .blend file to render (-b <scene>). Must exist; checked before Blender starts.
INPUT_OUTPUTRender output path (-o <output>), Blender's own pattern with # for frame digits. The directory is created if missing.
INPUT_ENGINE-E <engine>; default CYCLES.
INPUT_FORMAT-F <format> when non-empty; otherwise the scene's own output format.
INPUT_FRAMESSTART-END → -s START -e END -a; a single number → -f N; empty → -a (the scene's frame range).
INPUT_DEVICEAnything but CPU is passed as -- --cycles-device <device> (e.g. OPTIX, CUDA).

Blender runs with -noaudio; a non-zero exit fails the task.

⁠Output

After a successful render, the entrypoint appends

path=<directory of INPUT_OUTPUT>

to $WORKFLOW_TASK_OUTPUT. The consuming task must declare a path output.

⁠Tags

Each tag is the version of Blender the image packages, such as 5.2.4. A rebuild that keeps that version, to pick up a fixed base image or wrapper, adds -r1, -r2, and so on. A tag is never reused; latest follows the newest publish.

⁠Building

From the repository root:

docker build -t swaleio/blender-5-2:dev images/blender-5-2

Merging a change under images/blender-5-2 publishes the image under its next tag; task definitions reference it by digest.


Built from images/blender-5-2⁠ in the swaleio/task-definitions⁠ repository. For how a task definition references an image, see the task definition reference⁠ in the Swale documentation⁠.

The Dockerfile and entrypoint are covered by the MIT License⁠. Blender is GPL-3.0-or-later⁠; its license and those of the libraries it bundles ship inside the image in /opt/blender/license.

This image also contains software from other projects, each under its own license. The license texts its Ubuntu packages ship are inside the image, in /usr/share/doc/<package>/copyright. Source code for its GPL and LGPL components:

We also provide that source code on request: see Third-party software⁠.

Tag summary
Recent tags
Content type
Image
Digest
sha256:7e2afd46f…
Size
591.5 MB
Last updated
about 8 hours ago
docker pull swaleio/blender-5-2:latest