forked from bottlerocket-os/bottlerocket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
50 lines (46 loc) · 1.18 KB
/
Cargo.toml
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
[package]
name = "aws-ecs-1-nvidia"
version = "0.1.0"
edition = "2018"
publish = false
build = "build.rs"
[package.metadata.build-variant.image-layout]
os-image-size-gib = 4
[package.metadata.build-variant]
kernel-parameters = [
"console=tty0",
"console=ttyS0,115200n8",
]
included-packages = [
# core
"release",
"kernel-5.10",
# docker
"docker-cli",
"docker-engine",
"docker-init",
"docker-proxy",
# ecs
"ecs-agent",
# NVIDIA support
"ecs-gpu-init",
"nvidia-container-toolkit",
"kmod-5.10-nvidia-tesla-470"
]
[lib]
path = "lib.rs"
[build-dependencies]
# core
release = { path = "../../packages/release" }
kernel-5_10 = { path = "../../packages/kernel-5.10" }
# docker
docker-cli = { path = "../../packages/docker-cli" }
docker-engine = { path = "../../packages/docker-engine" }
docker-init = { path = "../../packages/docker-init" }
docker-proxy = { path = "../../packages/docker-proxy" }
# ecs
ecs-agent = { path = "../../packages/ecs-agent" }
# NVIDIA
ecs-gpu-init = { path = "../../packages/ecs-gpu-init" }
nvidia-container-toolkit = { path = "../../packages/nvidia-container-toolkit" }
kmod-5_10-nvidia = { path = "../../packages/kmod-5.10-nvidia" }