Commit 4cea258e authored by Adam Štěpánek's avatar Adam Štěpánek
Browse files

Add a Dockerfile and some scripts

parent 535c51c4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -43,3 +43,6 @@ obj/
ehthumbs.db
Thumbs.db
Snapshots/

*.alf
*.ulf

Builds/README.md

deleted100644 → 0
+0 −1
Original line number Diff line number Diff line
Export builds here!
 No newline at end of file
+4925 −0

File added.

Preview size limit exceeded, changes collapsed.

+5 −0
Original line number Diff line number Diff line
pcm.!default {
    type plug
    slave.pcm "null"
}
+90 −0
Original line number Diff line number Diff line
FROM ubuntu:latest

ENV DEBIAN_FRONTEND noninteractive
ENV DEBCONF_NONINTERACTIVE_SEEN true
ENV UNITY_URL https://beta.unity3d.com/download/518737b1de84/UnitySetup-2019.4.13f1
ENV UNITY_COMPONENTS Unity,Windows,Windows-Mono,Linux-IL2CPP,WebGL

RUN echo "Europe/Prague" > /etc/timezone && \
    apt-get update -qq \
    && apt-get install -qq -y \
        debconf \
        ffmpeg \
        freeglut3-dev \
        gconf-service \
        git \
        lib32gcc1 \
        lib32stdc++6 \
        libarchive13 \
        libasound2 \
        libc6 \
        libc6-i386 \
        libcairo2 \
        libcap2 \
        libcups2 \
        libdbus-1-3 \
        libexpat1 \
        libfontconfig1 \
        libfreetype6 \
        libgcc1 \
        libgconf-2-4 \
        libgdk-pixbuf2.0-0 \
        libgl1-mesa-glx \
        libglib2.0-0 \
        libglu1-mesa \
        libglu1-mesa-dev \
        libgtk2.0-0 \
        libgtk3.0 \
        libnotify4 \
        libnspr4 \
        libnss3 \
        libpango1.0-0 \
        libpq5 \
        libsoup2.4-1 \
        libstdc++6 \
        libunwind-dev \
        libx11-6 \
        libxcomposite1 \
        libxcursor1 \
        libxdamage1 \
        libxext6 \
        libxfixes3 \
        libxi6 \
        libxrandr2 \
        libxrender1 \
        libxtst6 \
        locales \
        lsb-release \
        mesa-common-dev \
        npm \
        openssh-server \
        pulseaudio \
        wget \
        xdg-utils \
        xvfb \
        zlib1g \
        clang \
        llvm-dev \
        libncurses5 \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/*

RUN locale-gen en_US.UTF-8

RUN wget -nv ${UNITY_URL} -O UnitySetup && \
    chmod +x UnitySetup && \
    echo y | ./UnitySetup \
        --unattended \
        --install-location=/opt/Unity \
        --verbose \
        --download-location=/tmp/unity \
        --components=${UNITY_COMPONENTS} && \
    rm UnitySetup && \
    rm -rf /tmp/unity && \
    rm -rf /root/.local/share/Trash/*

RUN mkdir -p /root/.local/share/unity3d/Certificates/ && \
    mkdir -p /root/.local/share/unity3d/Unity/

ADD conf/CACerts.pem /root/.local/share/unity3d/Certificates/
ADD conf/asound.conf /etc/
Loading