mirror of
https://gitlab.com/stilobique/blender-docker.git
synced 2026-05-28 04:37:47 +02:00
Update docker config, setup a multi stage setup, and build blender from source
This commit is contained in:
+3
-3
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user