forked from Zoxcore/qTox_enhanced
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
107 lines (106 loc) · 2.78 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
x-shared-params: &shared_params
# Fixes various issues when building/running in the docker containers
# Known fixes:
# * Appimage mounting
# * Attaching to processes in GDB
# * Fix tcl build due to pivot_root
cap_add:
- ALL
# Allows us to run app images from within the context of a docker image
devices:
- /dev/fuse:/dev/fuse
# X11 stuff
environment:
DISPLAY: $DISPLAY
XAUTHORITY: $XAUTHORITY
volumes:
- .:/qtox
- /tmp/.X11-unix:/tmp/.X11-unix
- ~/.Xauthority:/root/.Xauthority
user: ${USER_ID:-0}:${GROUP_ID:-0}
network_mode: host
services:
archlinux:
image: qtox_archlinux:latest
build:
context: ./buildscripts
dockerfile: docker/Dockerfile.archlinux
<<: *shared_params
debian_old:
image: qtox_debian_old:latest
build:
context: ./buildscripts
dockerfile: docker/Dockerfile.debian_old
<<: *shared_params
debian:
image: qtox_debian:latest
build:
context: ./buildscripts
dockerfile: docker/Dockerfile.debian
args:
DEBIAN_VERSION: stable
<<: *shared_params
ubuntu_lts:
image: qtox_ubuntu:latest
build:
context: ./buildscripts
dockerfile: docker/Dockerfile.ubuntu_lts
<<: *shared_params
ubuntu_for_appimage:
image: qtox_ubuntu_appimage:latest
privileged: true
build:
context: ./buildscripts
dockerfile: docker/Dockerfile.ubuntu_for_appimage
<<: *shared_params
ubuntu_for_asan_appimage:
image: qtox_ubuntu_asan_appimage:latest
privileged: true
build:
context: ./buildscripts
dockerfile: docker/Dockerfile.ubuntu_for_asan_appimage
<<: *shared_params
flatpak:
image: qtox_flatpak:latest
# Flatpak build uses pivot_root() in tcl build
privileged: true
build:
context: ./buildscripts
dockerfile: docker/Dockerfile.flatpak_builder
<<: *shared_params
almalinux:
image: qtox_almalinux:latest
build:
context: ./buildscripts
dockerfile: docker/Dockerfile.almalinux
<<: *shared_params
fedora:
image: qtox_fedora:latest
build:
context: ./buildscripts
dockerfile: docker/Dockerfile.fedora
<<: *shared_params
opensuse:
image: qtox_opensuse:latest
build:
context: ./buildscripts
dockerfile: docker/Dockerfile.opensuse
<<: *shared_params
windows_builder:
image: qtox_windows_builder:latest
build:
context: ./buildscripts
dockerfile: docker/Dockerfile.windows_builder
args:
ARCH: x86_64
WINEARCH: win64
<<: *shared_params
windows_builder.i686:
image: qtox_windows_builder.i686:latest
build:
context: ./buildscripts
dockerfile: docker/Dockerfile.windows_builder
args:
ARCH: i686
WINEARCH: win32
<<: *shared_params