Blender 4.5 LTS for background rendering in Swale workflows. Backs the blender-render-4-5 task.
383
Swale-built image backing the blender-render-4-5 task definition. It packages the
official Blender 4.5 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.
ubuntu:24.04download.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)swale (uid 1000)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 inertWORKDIR /mnt/workspace, ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]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 env | Effect |
|---|---|
INPUT_SCENE | The .blend file to render (-b <scene>). Must exist; checked before Blender starts. |
INPUT_OUTPUT | Render 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_FRAMES | START-END → -s START -e END -a; a single number → -f N; empty → -a (the scene's frame range). |
INPUT_DEVICE | Anything but CPU is passed as -- --cycles-device <device> (e.g. OPTIX, CUDA). |
Blender runs with -noaudio; a non-zero exit fails the task.
After a successful render, the entrypoint appends
path=<directory of INPUT_OUTPUT>
to $WORKFLOW_TASK_OUTPUT. The consuming task must declare a path output.
Each tag is the version of Blender the image packages, such as 4.5.16. 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.
From the repository root:
docker build -t swaleio/blender-4-5:dev images/blender-4-5
Merging a change under images/blender-4-5 publishes the image under its next tag;
task definitions reference it by digest.
Built from images/blender-4-5 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:
https://launchpad.net/ubuntu/+source/<source-package>/<version>We also provide that source code on request: see Third-party software.
docker pull swaleio/blender-4-5:latest