Browse Source

Build and run with docker container

David Kennedy S. A 2 years ago
parent
commit
934513df80
2 changed files with 10 additions and 0 deletions
  1. 3
    0
      build.sh
  2. 7
    0
      run.sh

+ 3
- 0
build.sh View File

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

+ 7
- 0
run.sh View File

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

Loading…
Cancel
Save