Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.dockerignore
.gitignore use latest Linux builds Mar 6, 2016
Dockerfile
Makefile
README.md

README.md

Table of Contents

Unity3D in Docker

This is Unity3D for Linux run with Docker.

TL;DR if this is your first time running this, simply run

xhost +
make all

Otherwise, the steps can be run individually.

Download

Download the latest Unity3D Linux build from the release notes with

make download

Build

Build the Docker image with

make build

Run

Run Unity3D with Docker with

make run

Pulseaudio

Before running the docker, run paprefs and enable 'Network Server > Enable Network Access to other devices' to be able to get pulseaudio to work. And run this (or put in ~/.bashrc):

export PULSE_SERVER=$(pax11publish | sed 's/.*tcp:/tcp:/g;s/ .*//g' | head -n1)

Importing assets

Create an asset directory in gamedev's home directory, if you haven't already done so:

mkdir gamedevhome/assets

Copy the downloaded asset there:

cp ~/Downloads/LeapMotion_CoreAsset_Orion_Beta_4.0.1.unitypackage gamedevhome/assets

Now, in Unity3D, import the asset from /home/gamedev/assets