Skip to content
This repository has been archived by the owner on Oct 25, 2019. It is now read-only.

Latest commit

 

History

History
32 lines (17 loc) · 1.08 KB

README.md

File metadata and controls

32 lines (17 loc) · 1.08 KB

Minecraft in docker

Motivation

MCPE Linux Launcher is wonderful project, but it's quite hard to satisfy versions for all dependencies to compile project, especially on usual/dirty linux workstation with a lot of installed stuff. This project solve dependencies issues using clean, isolated env inside docker container.

Building

docker build -t irioth/mcpe .

Running

For the first time:

xhost +local:
docker run --name mcpe -ti -e "DISPLAY=unix:0.0" -v="/tmp/.X11-unix:/tmp/.X11-unix:rw" -v /dev/snd:/dev/snd --privileged irioth/mcpe ./mcpelauncher

Starting existing container:

docker start mcpe

Tips

You can copy compiled project from container using docker cp, and if you are quite lucky it will work. Just keep in mind that it's 32-bit and external libraries must match to ones in container.

docker cp mcpe:/mcpe .

For previous compiled versions you can checkout tagged images:

irioth/mcpe:1.2.5
irioth/mcpe:1.2.6