-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
80 lines (73 loc) · 1.94 KB
/
docker-compose.yml
File metadata and controls
80 lines (73 loc) · 1.94 KB
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
# Docker Compose for local E2E testing
# Usage:
# docker compose build - Build all images
# docker compose up lldb - Run LLDB tests
# docker compose up delve - Run Delve tests
# docker compose up debugpy - Run debugpy tests
# docker compose up js-debug - Run js-debug tests
# docker compose up gdb - Run GDB tests
# docker compose up - Run all tests
services:
# Base image - not runnable directly
base:
build:
context: .
dockerfile: docker/base/Dockerfile
image: debugger-cli:base
# LLDB tests - C/C++/Rust
lldb:
build:
context: .
dockerfile: docker/lldb/Dockerfile
image: debugger-cli:lldb
depends_on:
- base
volumes:
- ./tests:/home/debugger/debugger-cli/tests:ro
- test-results:/home/debugger/results
# Delve tests - Go
delve:
build:
context: .
dockerfile: docker/delve/Dockerfile
image: debugger-cli:delve
depends_on:
- base
volumes:
- ./tests:/home/debugger/debugger-cli/tests:ro
- test-results:/home/debugger/results
# debugpy tests - Python
debugpy:
build:
context: .
dockerfile: docker/debugpy/Dockerfile
image: debugger-cli:debugpy
depends_on:
- base
volumes:
- ./tests:/home/debugger/debugger-cli/tests:ro
- test-results:/home/debugger/results
# js-debug tests - JavaScript/TypeScript
js-debug:
build:
context: .
dockerfile: docker/js-debug/Dockerfile
image: debugger-cli:js-debug
depends_on:
- base
volumes:
- ./tests:/home/debugger/debugger-cli/tests:ro
- test-results:/home/debugger/results
# GDB tests - C/C++ with GDB
gdb:
build:
context: .
dockerfile: docker/gdb/Dockerfile
image: debugger-cli:gdb
depends_on:
- base
volumes:
- ./tests:/home/debugger/debugger-cli/tests:ro
- test-results:/home/debugger/results
volumes:
test-results: