Build and run with docker container

This commit is contained in:
David Kennedy S. A 2018-03-21 01:55:51 -03:00
parent 9142a096df
commit 934513df80
2 changed files with 10 additions and 0 deletions

3
build.sh Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
docker build -t edubart/otclient .

7
run.sh Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
docker run -ti --rm \
-e DISPLAY \
-v /tmp/.X11-unix:/tmp/.X11-unix \
--device /dev/dri \
edubart/otclient