executable_tome4-docker 818 B

123456789101112131415161718192021222324
  1. #!/bin/sh
  2. docker run -it \
  3. -w /opt/tome4 \
  4. -v /tmp/.X11-unix:/tmp/.X11-unix \
  5. -v /opt/tome4/rootfs/opt/tome4:/opt/tome4 \
  6. -v /opt/tome4/rootfs/home/user:/home/user \
  7. -v /home/oleg/.t-engine:/root/.t-engine \
  8. -v /etc/localtime:/etc/localtime:ro \
  9. -v "/srv/lib/Tales of Maj'Eyal - GOG Linux":/install \
  10. -e DISPLAY \
  11. --rm -u1000: \
  12. --network=host \
  13. --name tome4 \
  14. --hostname tome4 \
  15. --device /dev/snd \
  16. --device /dev/input \
  17. --device /dev/dri \
  18. --env PULSE_SERVER=unix:/tmp/pulseaudio.socket \
  19. --env PULSE_COOKIE=/tmp/pulseaudio.cookie \
  20. --volume /tmp/pulseaudio.socket:/tmp/pulseaudio.socket \
  21. --volume /tmp/pulseaudio.client.conf:/etc/pulse/client.conf \
  22. tome4:1.6.0 ./start.sh