ltetzlaff / unity-docker

πŸ³πŸ“¦

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unity-docker

Based on grableroux/unity3d.

Linux Unity3d builds are taken from Unity on Linux: Release Notes and Known Issues

Usage

Build the image

docker build -t <reg>/<name>:<tag> .

Run the image

docker run -it --rm \
  -v "$(pwd):/root/project" \
  gableroux/unity3d:latest \
  xvfb-run --auto-servernum --server-args='-screen 0 640x480x24' \
  /opt/Unity/Editor/Unity -projectPath /root/project

Gitlab-CI

This docker image is intended to be used with gitlab-ci (but may work with other CIs). An example project using unity3d in a docker image can be found at gableroux/unity3d-gitlab-ci-example. Have a look to the .gitlab-ci.yml.

License

MIT

About

πŸ³πŸ“¦

License:MIT License


Languages

Language:Dockerfile 57.6%Language:Shell 42.4%