Skip to content

Commit

Permalink
Update Blender version in sample Dockerfile. (#1259)
Browse files Browse the repository at this point in the history
  • Loading branch information
n-jay authored Mar 1, 2023
1 parent 1c5dce4 commit a22391f
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 25 deletions.
34 changes: 34 additions & 0 deletions samples/rqd/blender/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Builds on the latest base image of RQD from Docker Hub
FROM opencue/rqd

# Install dependencies to run Blender on the opencue/rqd image
RUN yum -y update
RUN yum -y install \
bzip2 \
libfreetype6 \
libgl1-mesa-dev \
libXi-devel \
mesa-libGLU-devel \
zlib-devel \
libXinerama-devel \
libXrandr-devel

# Set Blender install directory
ARG BLENDER_INSTALL_DIR=/usr/local/blender

# Set Blender download source
ARG BLENDER_DOWNLOAD_SRC=https://download.blender.org/release/Blender3.3/blender-3.3.3-linux-x64.tar.xz

# Download and install Blender
RUN mkdir ${BLENDER_INSTALL_DIR}
RUN curl -SL ${BLENDER_DOWNLOAD_SRC} \
-o blender.tar.xz

RUN tar -xvf blender.tar.xz \
-C ${BLENDER_INSTALL_DIR} \
--strip-components=1

RUN rm blender.tar.xz

# Verify Blender installation
RUN ${BLENDER_INSTALL_DIR}/blender --version
25 changes: 0 additions & 25 deletions samples/rqd/blender/blender2.79-docker/Dockerfile

This file was deleted.

0 comments on commit a22391f

Please sign in to comment.