Fix the find/get linux dep file
This commit is contained in:
1 parent
e2be326250
commit
6111a10c75
1 file changed
+4
-11
+4
-11
@@ -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
|
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
|
chmod a+x ./install_linux_packages.py && \
|
||||||
# [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 && \
|
|
||||||
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 && \
|
||||||
pip install numpy cython && \
|
pip install numpy cython && \
|
||||||
|
|||||||
Reference in new issue
Block a user