Public Repository

Last pushed: 3 years ago
Short Description
The Blender 3D creation suite (in a Ubutnu Utopic container vi an X Windows socket)
Full Description
FROM ubuntu:utopic

RUN apt-get update

RUN apt-get -y install binutils build-essential
RUN apt-get -y install wget curl git
RUN apt-get -y install python python-dev python-pip python-support
RUN apt-get -y install python-numpy python-scipy
RUN apt-get -y install vim vim-gtk colordiff
RUN apt-get -y install libgl1-mesa-glx
RUN apt-get -y install libglu1-mesa

RUN apt-get -y autoremove

# Blender Version 2.74 may be outdated since this Dockerfile was created.
# Check the website!

RUN wget

RUN tar -xvjf blender-2.74-linux-glibc211-x86_64.tar.bz2

# This bit was lifted from 

# Replace 1000 with your user / group id
RUN export uid=1000 gid=1000 && \
    mkdir -p /home/developer && \
    echo "developer:x:${uid}:${gid}:Developer,,,:/home/developer:/bin/bash" >> /etc/passwd && \
    echo "developer:x:${uid}:" >> /etc/group && \
    echo "developer ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/developer && \
    chmod 0440 /etc/sudoers.d/developer && \
    chown ${uid}:${gid} -R /home/developer

# Useful for using the command line inside the docker container
# you can run a container with -v $DOCKER_ROOTDIR:/root to get all
# your goodies like .bashrc, .inputrc, .tmux.conf, etc
USER developer
ENV HOME /home/developer
VOLUME /home/developer
WORKDIR /home/developer
CMD /blender-2.74-linux-glibc211-x86_64/blender

# ---- NEXT: To use Blender in your desktop:
# ---- make sure you replaced 1000 above with your user / group id!
# ---- then:
# ---- docker build --tag blendocker .
# ---- then:
# ---- docker run --rm --name blend -it -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix blendocker
Docker Pull Command