From 6111a10c7540a152283435b30b33ab64bdcccd70 Mon Sep 17 00:00:00 2001 From: stilobique Date: Thu, 12 Nov 2026 12:04:06 +0100 Subject: [PATCH] Fix the find/get linux dep file --- Dockerfile | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/Dockerfile b/Dockerfile index e52420e..27a92b7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,17 +24,10 @@ RUN git clone --depth 1 --branch v${b3d_vs_major}.${b3d_vs_minor} \ https://projects.blender.org/blender/blender.git /opt/blender # Start build -# install_linux_packages.py (default, no --all) skips a handful of packages -# that are only provided via the precompiled-libs bundle or via --all: -# libepoxy-dev, Boost (all components), OpenImageIO. --all itself is not an -# option here: it also checks its own apt catalog for a python3-dev matching -# [3.11, 3.13[, which fails on Debian trixie regardless of which Python the -# base image runs (that check queries apt's package catalog, not the actual -# interpreter on PATH). Since `make update` below skips the precompiled -# bundle on Linux by default, these are needed from apt regardless - install -# them explicitly instead. -RUN cd /opt/blender/build_files/build_environment && \ - chmod a+x ./install_linux_packages.py && \ +# Need to find the linux deps file. +RUN dep=$(find /opt/blender -name install_linux_packages.py) && \ + cd "$(dirname "$dep")" && \ + chmod a+x ./install_linux_packages.py && \ python install_linux_packages.py && \ apt-get install -y libepoxy-dev libboost-all-dev libopenimageio-dev libembree-dev libpugixml-dev && \ pip install numpy cython && \