-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Blender version in sample Dockerfile. (#1259)
- Loading branch information
Showing
2 changed files
with
34 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file was deleted.
Oops, something went wrong.