kopia lustrzana https://github.com/nytimes/rd-blender-docker
Auto generated 3.3.1 docker
rodzic
8681817432
commit
4598004a10
|
@ -1,4 +1,4 @@
|
|||
# Dockerfile autogenerated on 06/20/2022, 07:33:14 by root
|
||||
# Dockerfile autogenerated on 10/23/2022, 22:17:04 by nagar
|
||||
# Please do not edit this file directly
|
||||
|
||||
FROM ubuntu:18.04
|
||||
|
@ -7,15 +7,13 @@ LABEL Author="Or Fleisher <or.fleisher@nytimes.com>"
|
|||
LABEL Title="Blender in Docker"
|
||||
|
||||
# Environment variables
|
||||
ENV BLENDER_VERSION "3.3.1"
|
||||
ENV BLENDER_MAJOR_VERSION "3.3"
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
ENV LC_ALL C.UTF-8
|
||||
ENV LANG C.UTF-8
|
||||
ENV PATH "${PATH}:/bin/${BLENDER_MAJOR_VERSION}/python/bin/"
|
||||
ENV BLENDER_PATH "/bin/${BLENDER_MAJOR_VERSION}"
|
||||
ENV BLENDERPIP "/bin/${BLENDER_MAJOR_VERSION}/python/bin/pip3"
|
||||
ENV BLENDERPY "/bin/${BLENDER_MAJOR_VERSION}/python/bin/python3.10"
|
||||
ENV PATH "$PATH:/bin/3.3/python/bin/"
|
||||
ENV BLENDER_PATH "/bin/3.3"
|
||||
ENV BLENDERPIP "/bin/3.3/python/bin/pip3"
|
||||
ENV BLENDERPY "/bin/3.3/python/bin/python3.10"
|
||||
ENV HW="CPU"
|
||||
|
||||
# Install dependencies
|
||||
|
@ -34,10 +32,10 @@ RUN apt-get update && apt-get install -y \
|
|||
xz-utils
|
||||
|
||||
# Download and install Blender
|
||||
RUN wget "https://mirror.clarkson.edu/blender/release/Blender${BLENDER_MAJOR_VERSION}/blender-${BLENDER_VERSION}-linux-x64.tar.xz" \
|
||||
&& tar -xvf blender-${BLENDER_VERSION}-linux-x64.tar.xz --strip-components=1 -C /bin \
|
||||
&& rm -rf blender-${BLENDER_VERSION}-linux-x64.tar.xz \
|
||||
&& rm -rf blender-${BLENDER_VERSION}-linux-x64
|
||||
RUN wget https://mirror.clarkson.edu/blender/release/Blender3.3/blender-3.3.1-linux-x64.tar.xz \
|
||||
&& tar -xvf blender-3.3.1-linux-x64.tar.xz --strip-components=1 -C /bin \
|
||||
&& rm -rf blender-3.3.1-linux-x64.tar.xz \
|
||||
&& rm -rf blender-3.3.1-linux-x64
|
||||
|
||||
# Download the Python source since it is not bundled with Blender
|
||||
RUN wget https://www.python.org/ftp/python/3.10.5/Python-3.10.5.tgz \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Dockerfile autogenerated on 06/20/2022, 07:33:14 by root
|
||||
# Dockerfile autogenerated on 10/23/2022, 22:17:04 by nagar
|
||||
# Please do not edit this file directly
|
||||
|
||||
FROM nvidia/cudagl:10.1-base-ubuntu18.04
|
||||
|
@ -7,15 +7,13 @@ LABEL Author="Or Fleisher <or.fleisher@nytimes.com>"
|
|||
LABEL Title="Blender in Docker"
|
||||
|
||||
# Environment variables
|
||||
ENV BLENDER_VERSION "3.3.1"
|
||||
ENV BLENDER_MAJOR_VERSION "3.3"
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
ENV LC_ALL C.UTF-8
|
||||
ENV LANG C.UTF-8
|
||||
ENV PATH "${PATH}:/bin/${BLENDER_MAJOR_VERSION}/python/bin/"
|
||||
ENV BLENDER_PATH "/bin/${BLENDER_MAJOR_VERSION}"
|
||||
ENV BLENDERPIP "/bin/${BLENDER_MAJOR_VERSION}/python/bin/pip3"
|
||||
ENV BLENDERPY "/bin/${BLENDER_MAJOR_VERSION}/python/bin/python3.10"
|
||||
ENV PATH "$PATH:/bin/3.3/python/bin/"
|
||||
ENV BLENDER_PATH "/bin/3.3"
|
||||
ENV BLENDERPIP "/bin/3.3/python/bin/pip3"
|
||||
ENV BLENDERPY "/bin/3.3/python/bin/python3.10"
|
||||
ENV HW="GPU"
|
||||
|
||||
# Install dependencies
|
||||
|
@ -34,10 +32,10 @@ RUN apt-get update && apt-get install -y \
|
|||
xz-utils
|
||||
|
||||
# Download and install Blender
|
||||
RUN wget "https://mirror.clarkson.edu/blender/release/Blender${BLENDER_MAJOR_VERSION}/blender-${BLENDER_VERSION}-linux-x64.tar.xz" \
|
||||
&& tar -xvf blender-${BLENDER_VERSION}-linux-x64.tar.xz --strip-components=1 -C /bin \
|
||||
&& rm -rf blender-${BLENDER_VERSION}-linux-x64.tar.xz \
|
||||
&& rm -rf blender-${BLENDER_VERSION}-linux-x64
|
||||
RUN wget https://mirror.clarkson.edu/blender/release/Blender3.3/blender-3.3.1-linux-x64.tar.xz \
|
||||
&& tar -xvf blender-3.3.1-linux-x64.tar.xz --strip-components=1 -C /bin \
|
||||
&& rm -rf blender-3.3.1-linux-x64.tar.xz \
|
||||
&& rm -rf blender-3.3.1-linux-x64
|
||||
|
||||
# Download the Python source since it is not bundled with Blender
|
||||
RUN wget https://www.python.org/ftp/python/3.10.5/Python-3.10.5.tgz \
|
||||
|
|
Ładowanie…
Reference in New Issue