Update docker config, setup a multi stage setup, and build blender from source

This commit is contained in:
Aurelien Vaillant
2021-12-01 13:42:30 +01:00
parent c197b177f2
commit fbe3f3a24f
+3 -3
View File
@@ -40,12 +40,12 @@ RUN mkdir /opt/blender-git/ && cd /opt/blender-git/ \
&& git submodule update --init --recursive \
&& make
#RUN cd /opt/blender-git/build_linux/bin \
# && ls -la \
# Setup a Multistage optimisation
FROM ubuntu:latest
COPY --from=blender /opt/blender-git/build_linux/bin /opt/blender
ARG b3d_vs_major
ENV B3D_ADDON_PATH "$HOME/.config/blender/${b3d_vs_major}/scripts/addons"
RUN apt-get update && apt-get install -y \
libxi6 \
libxxf86vm1 \