tests: Add access to the host X11 socket

This commit is contained in:
Tomas Babej 2019-02-22 21:00:44 -05:00
parent e049f45ae9
commit 6f62e750cb
No known key found for this signature in database
GPG key ID: B0747C6578F7D2F5

View file

@ -3,6 +3,11 @@ services:
tests:
build: .
volumes:
- "/etc/group:/etc/group:ro"
- "/etc/passwd:/etc/passwd:ro"
- "/etc/shadow:/etc/shadow:ro"
- "/etc/sudoers.d:/etc/sudoers.d:ro"
- "/tmp/.X11-unix:/tmp/.X11-unix:rw"
- "$HOME/.Xauthority:/root/.Xauthority:rw"
- ".:/root/.vim/bundle/taskwiki:rw"
network_mode: "host"