This commit is contained in:
2025-10-10 11:28:22 +02:00
parent 205aa7c421
commit d02cdc1463
157 changed files with 639 additions and 33540 deletions

View File

@@ -0,0 +1,25 @@
FROM --platform=linux/amd64 ubuntu:22.04
# Prevent interactive prompts during package installation
ENV DEBIAN_FRONTEND=noninteractive
# Install Blender and dependencies including python3-pil
RUN apt-get update && apt-get install -y \
blender \
python3-pip \
python3-pil \
wget \
xvfb \
&& rm -rf /var/lib/apt/lists/*
# Set up working directory
WORKDIR /addon-test
# Blender requires a display, use Xvfb for headless operation
ENV DISPLAY=:99
# Copy helper script to run Blender with virtual display
COPY run_blender.sh /usr/local/bin/run_blender.sh
RUN chmod +x /usr/local/bin/run_blender.sh
CMD ["/bin/bash"]