Ryan Malloy rsp2k

blender-desktop (5.2.2)

Published 2026-10-03 19:34:37 +00:00 by rsp2k

Installation

docker pull git.supported.systems/rsp2k/blender-desktop:5.2.2
sha256:83c9d0d70d87515da57adedcf0fdd7a391053005b9e8419008d649f5fe8b1a0d

About this package

Blender with NVIDIA GPU viewport and Cycles, served over VNC and noVNC

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.version=24.04
ADD file:6c214fc3c3c22122c7eb68f7fb32783df308e60b1eaeb9baf7e4d0cc961d448d in /
CMD ["/bin/bash"]
ARG BLENDER_VERSION=5.2.2
ARG VIRTUALGL_VERSION=3.1.5
ARG PUID=1000
ARG PGID=1000
ENV DEBIAN_FRONTEND=noninteractive LANG=C.UTF-8 PATH=/opt/VirtualGL/bin:/opt/blender:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN |4 BLENDER_VERSION=5.2.2 VIRTUALGL_VERSION=3.1.5 PUID=1000 PGID=1000 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl xz-utils procps tigervnc-standalone-server tigervnc-tools tigervnc-scraping-server openbox i3-wm i3status suckless-tools xterm xdotool novnc python3-websockify dbus-x11 x11-utils mesa-utils libglvnd0 libgl1 libglx0 libegl1 libopengl0 libgles2 libgl1-mesa-dri libglu1-mesa libx11-6 libx11-xcb1 libxi6 libxxf86vm1 libxfixes3 libxrender1 libxrandr2 libxinerama1 libxcursor1 libxcomposite1 libxkbcommon0 libxkbcommon-x11-0 libsm6 libice6 libgomp1 libxtst6 libxv1 fonts-dejavu-core && rm -rf /var/lib/apt/lists/* # buildkit
RUN |4 BLENDER_VERSION=5.2.2 VIRTUALGL_VERSION=3.1.5 PUID=1000 PGID=1000 /bin/sh -c curl -fL -o /tmp/virtualgl.deb "https://github.com/VirtualGL/virtualgl/releases/download/${VIRTUALGL_VERSION}/virtualgl_${VIRTUALGL_VERSION}_amd64.deb" && apt-get update && apt-get install -y --no-install-recommends /tmp/virtualgl.deb && rm -rf /tmp/virtualgl.deb /var/lib/apt/lists/* # buildkit
RUN |4 BLENDER_VERSION=5.2.2 VIRTUALGL_VERSION=3.1.5 PUID=1000 PGID=1000 /bin/sh -c set -eux; install -d -m 0755 /etc/apt/keyrings; curl -fsSL https://packages.mozilla.org/apt/repo-signing-key.gpg -o /etc/apt/keyrings/packages.mozilla.org.asc; echo "deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.asc] https://packages.mozilla.org/apt mozilla main" > /etc/apt/sources.list.d/mozilla.list; printf 'Package: *\nPin: origin packages.mozilla.org\nPin-Priority: 1000\n' > /etc/apt/preferences.d/mozilla; apt-get update; apt-get install -y --no-install-recommends firefox xdg-utils; rm -rf /var/lib/apt/lists/* # buildkit
COPY /uv /uvx /usr/local/bin/ # buildkit
RUN |4 BLENDER_VERSION=5.2.2 VIRTUALGL_VERSION=3.1.5 PUID=1000 PGID=1000 /bin/sh -c set -eux; major="${BLENDER_VERSION%.*}"; cd /tmp; curl -fLO "https://download.blender.org/release/Blender${major}/blender-${BLENDER_VERSION}-linux-x64.tar.xz"; curl -fL "https://download.blender.org/release/Blender${major}/blender-${BLENDER_VERSION}.sha256" | grep 'linux-x64.tar.xz' | sha256sum -c -; mkdir -p /opt/blender; tar -xJf "blender-${BLENDER_VERSION}-linux-x64.tar.xz" --strip-components=1 -C /opt/blender; rm -f "blender-${BLENDER_VERSION}-linux-x64.tar.xz" # buildkit
RUN |4 BLENDER_VERSION=5.2.2 VIRTUALGL_VERSION=3.1.5 PUID=1000 PGID=1000 /bin/sh -c set -eux; userdel -r ubuntu 2>/dev/null || true; groupadd -g "${PGID}" blender; useradd -m -u "${PUID}" -g "${PGID}" -s /bin/bash blender; mkdir -p /home/blender/.vnc /home/blender/.config/blender /home/blender/projects /home/blender/.cache/uv; chown -R blender:blender /home/blender # buildkit
COPY --chmod=0755 scripts/entrypoint.sh /usr/local/bin/entrypoint.sh # buildkit
RUN |4 BLENDER_VERSION=5.2.2 VIRTUALGL_VERSION=3.1.5 PUID=1000 PGID=1000 /bin/sh -c install -d -m 0755 /opt/blender-vnc # buildkit
COPY --chmod=0644 scripts/enable_gpu.py /opt/blender-vnc/enable_gpu.py # buildkit
COPY --chmod=0644 scripts/openbox-rc.xml /etc/xdg/openbox/rc.xml # buildkit
COPY --chmod=0644 scripts/i3-config /opt/blender-vnc/i3-config # buildkit
COPY --chmod=0755 scripts/watch-ctl /opt/blender-vnc/watch-ctl # buildkit
COPY --chmod=0755 scripts/install-app-templates.sh /opt/blender-vnc/install-app-templates.sh # buildkit
COPY templates/ /tmp/app-templates/ # buildkit
RUN |4 BLENDER_VERSION=5.2.2 VIRTUALGL_VERSION=3.1.5 PUID=1000 PGID=1000 /bin/sh -c /opt/blender-vnc/install-app-templates.sh /tmp/app-templates && rm -rf /tmp/app-templates && test -s /opt/blender/*/scripts/startup/bl_app_templates_system/supported/startup.blend && test -s /opt/blender/*/scripts/startup/bl_app_templates_system/supported/splash.png && test -s /opt/blender/*/scripts/startup/bl_app_templates_system/supported/userpref.blend && test -s /opt/blender/*/scripts/startup/bl_app_templates_system/agent-stage/startup.blend && test -s /opt/blender/*/scripts/startup/bl_app_templates_system/agent-stage/userpref.blend # buildkit
RUN |4 BLENDER_VERSION=5.2.2 VIRTUALGL_VERSION=3.1.5 PUID=1000 PGID=1000 /bin/sh -c install -d -m 0755 /etc/firefox/policies # buildkit
COPY --chmod=0644 scripts/firefox-policies.json /etc/firefox/policies/policies.json # buildkit
USER blender
WORKDIR /home/blender/projects
ENV HOME=/home/blender DISPLAY=:1 PYTHONUNBUFFERED=1 VNC_GEOMETRY=1920x1080 VNC_DEPTH=24 GPU_VIEWPORT=1 NOVNC_ENABLED=1 BLENDER_RESTART=1 WINDOW_MANAGER=i3 BLENDER_SHOW_SPLASH=0 BLENDER_APP_TEMPLATE=supported VNC_WATCH_ENABLED=1 VNC_ALLOW_RESIZE=0 BLENDER_MAX_FPS=24 WATCH_MAX_CPU=15 UV_CACHE_DIR=/home/blender/.cache/uv/cache UV_TOOL_DIR=/home/blender/.cache/uv/tools UV_PYTHON_INSTALL_DIR=/home/blender/.cache/uv/python I3_MOD=Mod4 I3_LAYOUT=default NVIDIA_DRIVER_CAPABILITIES=all
LABEL org.opencontainers.image.title=blender-desktop org.opencontainers.image.description=Blender with NVIDIA GPU viewport and Cycles, served over VNC and noVNC org.opencontainers.image.source=https://git.supported.systems/rsp2k/blender-desktop org.opencontainers.image.version=5.2.2
EXPOSE [5901/tcp 5902/tcp 6080/tcp 6081/tcp]
HEALTHCHECK {Test:[CMD-SHELL xdpyinfo -display :1 >/dev/null 2>&1 || exit 1] Interval:30s Timeout:5s StartPeriod:40s StartInterval:0s Retries:3}
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]

Labels

Key Value
com.docker.compose.project blender-docker
com.docker.compose.service blender-desktop
com.docker.compose.version 5.5.1
org.opencontainers.image.description Blender with NVIDIA GPU viewport and Cycles, served over VNC and noVNC
org.opencontainers.image.source https://git.supported.systems/rsp2k/blender-desktop
org.opencontainers.image.title blender-desktop
org.opencontainers.image.version 5.2.2
Details
Container
2026-10-03 19:34:37 +00:00
16
OCI / Docker
linux/amd64
879 MiB
Versions (3) View all
5.2.2-mcp 2026-10-03
latest 2026-10-03
5.2.2 2026-10-03