Skip to content

Instantly share code, notes, and snippets.

@mottosso
Last active August 29, 2015 14:24
Show Gist options
  • Save mottosso/bf83edd6e4cccdceaed2 to your computer and use it in GitHub Desktop.
Save mottosso/bf83edd6e4cccdceaed2 to your computer and use it in GitHub Desktop.
Maya 2015 SP5 on Ubuntu 14.04
size: 4.397 gb
compileTime: 30 mins

Introduction

Based on mottosso/mayabase-ubuntu.

Installation

$ git clone https://gist.github.com/bf83edd6e4cccdceaed2.git maya-ubuntu && cd maya-ubuntu
$ docker build -t mottosso/maya-ubuntu .

Usage

$ docker run -ti --rm mottosso/maya mayapy
Python 2.7.3 (default, Aug  2 2012, 13:44:14)
[GCC 4.1.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 

Known issues

  1. The xgenm module is not available.
FROM mottosso/mayabase-ubuntu
MAINTAINER marcus@abstractfactory.io
# Download and unpack distribution first, Docker's caching
# mechanism will ensure that this only happens once.
RUN wget http://download.autodesk.com/us/support/files/maya_2015_service_pack_5/Autodesk_Maya_2015_SP5_English_Linux.tgz -O maya.tgz && \
mkdir /maya && tar -xvf maya.tgz -C /maya && \
rm maya.tgz
WORKDIR /maya
# Convert RPC package to Debian package
# This an take a long time ~15 to 30 mins
RUN for i in *.rpm; do \
sudo alien -cv $i; \
done
# Install Maya
RUN dpkg -i *.deb && \
cp lib* /usr/lib/ && \
mkdir /usr/tmp && \
chmod 777 /usr/tmp
# Create symlinks
RUN ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so.0.9.8 /usr/autodesk/maya2015-x64/lib/libcrypto.so.10 && \
ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so.0.9.8 /usr/autodesk/maya2015-x64/lib/libcrypto.so.0.9.8
# Setup environment
ENV MAYA_LOCATION=/usr/autodesk/maya2015-x64/
ENV PATH=$MAYA_LOCATION/bin:$PATH
# Cleanup
WORKDIR /root
RUN rm -r /maya
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment