-
Notifications
You must be signed in to change notification settings - Fork 28
/
devcontainer.json
66 lines (57 loc) · 2.33 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
58
59
60
61
62
63
64
65
66
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.112.0/containers/docker-existing-dockerfile
{
"name": "Existing Dockerfile",
// Sets the run context to one level up instead of the .devcontainer folder.
"context": "..",
// Reuse build image.
"image": "upee:v1.0",
// Set *default* container specific settings.json values on container create.
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"ms-vscode.cmake-tools",
"ms-vscode.cpptools",
"twxs.cmake",
"cschlosser.doxdocgen",
"amiralizadeh9480.cpp-helper",
"eamodio.gitlens",
"albert.tabout",
"redhat.vscode-yaml",
"ms-python.python",
"ms-python.vscode-pylance",
"l13rary.l13-sh-snippets",
"foxundermoon.shell-format",
"TabNine.tabnine-vscode",
"streetsidesoftware.code-spell-checker",
"streetsidesoftware.code-spell-checker-portuguese",
"shan.code-settings-sync",
"editorconfig.editorconfig",
],
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Uncomment the next line to run commands after the container is created - for example installing git.
// "postCreateCommand": "make setup",
// Uncomment when using a ptrace-based debugger like C++, Go, and Rust
"runArgs": [
"--cap-add=SYS_PTRACE",
"--security-opt",
"seccomp=unconfined",
"--cap-add=NET_ADMIN",
"--privileged",
"--name=upf-bpf",
"--net=host",
"--env-file", "env.sh"
],
// Uncomment to use the Docker CLI from inside the container. See https://aka.ms/vscode-remote/samples/docker-in-docker.
// Mounts persitent history. See https://code.visualstudio.com/docs/remote/containers-advanced#_persist-bash-history-between-runs.
"mounts": [ "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind",
"source=openair-cn-cups-bashhistory,target=/commandhistory,type=volume"
],
"workspaceMount": "source=${localWorkspaceFolder},target=/workspaces,type=bind,consistency=delegated",
"workspaceFolder": "/workspaces"
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
// "remoteUser": "oai-spgwu"
}