generated from crossplane/upjet-provider-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevcontainer.json
57 lines (57 loc) · 1.87 KB
/
devcontainer.json
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
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-outside-of-docker
{
"name": "crossplanes-provider-sandbox",
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
"features": {
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
"version": "20.10.25",
"enableNonRootDocker": "false",
"moby": "true"
},
"ghcr.io/devcontainers/features/go:1": {
"version": "1.19"
},
"ghcr.io/devcontainers-contrib/features/kind:1": {
"version": "0.15.0"
},
"ghcr.io/jungaretti/features/make:1": {},
"ghcr.io/lentzi90/features/tilt:0": {},
"ghcr.io/devcontainers/features/kubectl-helm-minikube:1": {
"minikube": "none",
"helm": "3.12.0"
},
"ghcr.io/jsburckhardt/devcontainer-features/flux:1": {
},
"ghcr.io/devcontainers-contrib/features/gh-cli:1": {},
"ghcr.io/devcontainers-contrib/features/bash-command:1": {
"command": "curl -sL https://cli.upbound.io | sh && sudo mv up /usr/local/bin/ && curl -sL https://raw.githubusercontent.com/crossplane/crossplane/master/install.sh | sh && mv kubectl-crossplane /usr/local/bin"
}
},
"runArgs": [
"--network=kind-sandbox"
],
"initializeCommand": "docker network create kind-sandbox || true",
"postCreateCommand": "go install golang.org/x/tools/cmd/goimports@latest",
"remoteEnv": {
"LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}",
"KIND_EXPERIMENTAL_DOCKER_NETWORK": "kind-sandbox",
"TILT_DISABLE_ANALYTICS": "true",
"DO_NOT_TRACK": "1",
"USE_DEVCON": "true"
},
"remoteUser": "root",
"customizations": {
"vscode": {
"extensions": [
"upboundio.upbound@0.4.0",
"golang.go@0.38.0",
"tilt-dev.tiltfile@0.0.3",
"GitHub.vscode-pull-request-github",
"github.vscode-github-actions",
"GitHub.copilot",
"ms-vscode.makefile-tools"
]
}
}
}