forked from bytecodealliance/wasm-micro-runtime
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdevcontainer.json
62 lines (62 loc) · 2.27 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
// Copyright (C) 2019 Intel Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// 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.245.2/containers/cpp
{
"name": "WAMR-Dev",
"build": {
"dockerfile": "Dockerfile",
// Update 'VARIANT' to pick an Debian / Ubuntu OS version: debian-12, debian-11, debian-10, debian-9, ubuntu-21.04, ubuntu-20.04, ubuntu-18.04
// Use Debian 12, Debian 11, Debian 9, Ubuntu 18.04 or Ubuntu 21.04 on local arm64/Apple Silicon
"args": {
"BAZELISK_VER": "1.19.0",
"BINARYEN_VER": "117",
"CMAKE_VER": "3.27.0",
"EMSDK_VER": "3.1.43",
"GH_CLI_VER": "2.50.0",
"LLVM_VER": "15.0.6",
"WABT_VER": "1.0.36",
"WASI_SDK_VER": "24",
"WASM_TOOLS_VER": "1.216.0",
"WIT_BINDGEN_VER": "0.30.0",
"VARIANT": "jammy",
}
},
"privileged": true,
// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"bierner.github-markdown-preview",
"dtsvet.vscode-wasm",
"esbenp.prettier-vscode",
"GitHub.vscode-codeql",
"GitHub.vscode-pull-request-github",
"ms-python.debugpy",
"ms-python.python",
"ms-python.black-formatter",
"ms-python.vscode-pylance",
"ms-toolsai.jupyter",
"ms-toolsai.jupyter-keymap",
"ms-toolsai.jupyter-renderers",
"ms-toolsai.vscode-jupyter-cell-tags",
"ms-toolsai.vscode-jupyter-slideshow",
"ms-vscode.cpptools",
"ms-vscode.cpptools-extension-pack",
"streetsidesoftware.code-spell-checker",
"vadimcn.vscode-lldb",
]
}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "bash -euvx .devcontainer/finalize.sh",
// Comment out this line to run as root instead.
"remoteUser": "vscode",
"mounts": [
"source=/mnt/workspace/SDF,target=/SDF,type=bind"
]
}