fix(docker): install Blender's missing runtime libs

blender --version failed with "libxkbcommon.so.0: cannot open shared
object file" — libxkbcommon0, libsm6, and libice6 aren't pulled in by
anything else in the image. Caught via a local docker build (see
README), which the prior push-only workflow never exercised.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-06 22:02:59 +02:00
co-authored by Claude-Bot
parent e1f3cba486
commit 1e283fd77f
+4
View File
@@ -14,6 +14,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
libx11-dev libxcursor-dev libxinerama-dev libgl1-mesa-dev \ libx11-dev libxcursor-dev libxinerama-dev libgl1-mesa-dev \
libasound2-dev libpulse-dev libudev-dev libxi-dev libxrandr-dev libwayland-dev \ libasound2-dev libpulse-dev libudev-dev libxi-dev libxrandr-dev libwayland-dev \
mingw-w64 \ mingw-w64 \
# Blender's own runtime deps, not pulled in by anything above — without
# these `blender --version` fails with "libxkbcommon.so.0: cannot open
# shared object file" (caught via a local `docker build`, see README).
libxkbcommon0 libsm6 libice6 \
&& update-alternatives --set x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-posix \ && update-alternatives --set x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-posix \
&& update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix \ && update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/* \