From 2c1578556d29e153c8c01e5e060a9113f365d198 Mon Sep 17 00:00:00 2001 From: Michael Davie Date: Sat, 14 Oct 2023 20:28:21 -0400 Subject: [PATCH] Use pre-built Blender image Use a pre-built Blender image rather than installing it. --- .../rendering-with-batch.files/docker-files/Dockerfile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/content/rendering-with-batch/rendering-with-batch.files/docker-files/Dockerfile b/content/rendering-with-batch/rendering-with-batch.files/docker-files/Dockerfile index c30dacec..cf16b98c 100644 --- a/content/rendering-with-batch/rendering-with-batch.files/docker-files/Dockerfile +++ b/content/rendering-with-batch/rendering-with-batch.files/docker-files/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu +FROM lscr.io/linuxserver/blender:latest # Install dependencies RUN apt-get update && \ @@ -20,12 +20,6 @@ RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2 sudo ./aws/install && \ rm ./aws/install -# Download and install Blender -RUN curl "https://ftp.halifax.rwth-aachen.de/blender/release/Blender2.93/blender-2.93.5-linux-x64.tar.xz" -o "blender.tar.xz" && \ - tar -xvf blender.tar.xz --strip-components=1 -C /bin && \ - rm -rf blender.tar.xz && \ - rm -rf blender - # Copy FFmpeg to the root of the container and unzip it RUN curl "https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-amd64-static.tar.xz" -o "ffmpeg.tar.xz" && \ tar -xvf ffmpeg.tar.xz --strip-components=1 -C /bin && \