-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathDockerfile.mayabase
executable file
·63 lines (53 loc) · 1.48 KB
/
Dockerfile.mayabase
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
FROM rockylinux:8.9
MAINTAINER [email protected]
RUN yum -y install \
mesa-libGLw \
mesa-libGLU \
libglvnd*64
RUN yum -y install \
libXpm \
libXcomposite \
gamin \
e2fsprogs-libs \
glibc \
zlib \
libSM \
libICE \
tcsh \
pulseaudio-libs \
libxslt \
alsa-lib
RUN yum -y install \
xorg-x11-fonts-ISO8859-1-100dpi \
xorg-x11-fonts-ISO8859-1-75dpi \
liberation-mono-fonts \
liberation-fonts-common \
liberation-sans-fonts \
liberation-serif-fonts
RUN yum -y install \
libpng12 \
libtiff && \
ln -s /usr/lib64/libtiff.so.5 /usr/lib64/libtiff.so.3
RUN yum update -y && \
yum install -y \
nano \
csh \
elfutils \
gcc \
git \
mesa-libGL-devel \
tcsh \
xorg-x11-server-Xorg \
xorg-x11-server-Xvfb \
wget
RUN dnf groupinstall -y "Server with GUI" --allowerasing && \
yum clean all
ENV LIBQUICKTIME_PLUGIN_DIR=/usr/autodesk/maya/lib
ENV DISPLAY=:99
# Start a virtual screen inside of container, such that we can call cmds.playblast etc.
RUN echo "# Start Xvfb" >> ~/.bashrc && \
echo "Xvfb :99 -screen 0 1024x768x16 2>/dev/null &" >> ~/.bashrc && \
echo "while ! ps aux | \grep -q '[0]:00 Xvfb :99 -screen 0 1024x768x16';" >> ~/.bashrc && \
echo " do echo 'Waiting for Xvfb...'; sleep 1; done" >> ~/.bashrc
# Cleanup
WORKDIR /root