Fix the find/get linux dep file

This commit is contained in:
stilobique committed 2026-11-12 12:04:06 +01:00
1 parent e2be326250
commit 6111a10c75
1 file changed
+3 -10
+3 -10
View File
@@ -24,16 +24,9 @@ RUN git clone --depth 1 --branch v${b3d_vs_major}.${b3d_vs_minor} \
https://projects.blender.org/blender/blender.git /opt/blender https://projects.blender.org/blender/blender.git /opt/blender
# Start build # Start build
# install_linux_packages.py (default, no --all) skips a handful of packages # Need to find the linux deps file.
# that are only provided via the precompiled-libs bundle or via --all: RUN dep=$(find /opt/blender -name install_linux_packages.py) && \
# libepoxy-dev, Boost (all components), OpenImageIO. --all itself is not an cd "$(dirname "$dep")" && \
# 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 && \ chmod a+x ./install_linux_packages.py && \
python install_linux_packages.py && \ python install_linux_packages.py && \
apt-get install -y libepoxy-dev libboost-all-dev libopenimageio-dev libembree-dev libpugixml-dev && \ apt-get install -y libepoxy-dev libboost-all-dev libopenimageio-dev libembree-dev libpugixml-dev && \