-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdevbox.json
More file actions
36 lines (35 loc) · 944 Bytes
/
devbox.json
File metadata and controls
36 lines (35 loc) · 944 Bytes
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
{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.16.0/.schema/devbox.schema.json",
"packages": [
"git",
"nodejs@latest",
"yarn@1.22.22",
"jq@latest",
"go@latest",
"go-task@latest",
"kubectl@latest",
"kubernetes-helm@latest",
"kind@latest",
"k9s@latest"
],
"shell": {
"init_hook": [
"# Set up local KUBECONFIG",
"export KUBECONFIG=\"$PWD/.kubeconfig\"",
"",
"# Create .kubeconfig if it doesn't exist",
"if [ ! -f \"$KUBECONFIG\" ]; then",
" echo \"Creating empty .kubeconfig file\"",
" touch \"$KUBECONFIG\"",
"fi",
"",
"echo \"KUBECONFIG set to $KUBECONFIG\"",
"echo \"Development environment ready with latest tools!\""
],
"scripts": {
"test": [
"echo \"Error: no test specified\" && exit 1"
]
}
}
}