-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
94 lines (88 loc) · 2.05 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
# 通用的构建参数
x-build-args: &build-args
# 代理地址,在 Docker 中使用 host.docker.internal 访问主机
# PROXY: "http://host.docker.internal:7890"
PROXY: ""
NO_PROXY: "localhost,127.0.0.1"
# 通用的服务配置
x-common: &common
# volumes:
# - ./challenges:/ctf # 修改为你的目录
cap_add:
- SYS_PTRACE
security_opt:
- seccomp=unconfined
extra_hosts:
- "host.docker.internal:host-gateway"
services:
ubuntu24.04:
build:
context: .
args:
IMAGE: ubuntu:24.04
<<: *build-args
PYTHON_VERSION: 3.12.0
GDB_VERSION: 15.2
GDB_MULTIARCH: no
RUBY_VERSION: 3.2.6
<<: *common
image: nopwnv2:24.04
hostname: NoPwnV2_24.04
container_name: NoPwn2404
ubuntu22.04:
build:
context: .
args:
IMAGE: ubuntu:22.04
<<: *build-args
PYTHON_VERSION: 3.12.0
GDB_VERSION: 15.2
GDB_MULTIARCH: no
RUBY_VERSION: 3.2.6
<<: *common
image: nopwnv2:22.04
hostname: NoPwnV2_22.04
container_name: NoPwn2204
ubuntu20.04:
build:
context: .
args:
IMAGE: ubuntu:20.04
<<: *build-args
PYTHON_VERSION: 3.12.0
GDB_VERSION: 15.2
GDB_MULTIARCH: no
RUBY_VERSION: 3.2.6
<<: *common
image: nopwnv2:20.04
hostname: NoPwnV2_20.04
container_name: NoPwn2004
ubuntu18.04:
build:
context: .
dockerfile: Dockerfile.ubuntu1804
args:
<<: *build-args
PYTHON_VERSION: 3.12.0
GDB_VERSION: 15.2
GDB_MULTIARCH: no
RUBY_VERSION: 3.2.6
CURSES_VERSION: 6.4
<<: *common
image: nopwnv2:18.04
hostname: NoPwnV2_18.04
container_name: NoPwn1804
ubuntu16.04:
build:
context: .
dockerfile: Dockerfile.ubuntu1604
args:
<<: *build-args
PYTHON_VERSION: 3.12.0
GDB_VERSION: 13.2
GDB_MULTIARCH: no
RUBY_VERSION: 3.2.6
<<: *common
image: nopwnv2:16.04
hostname: NoPwnV2_16.04
container_name: NoPwn1604