mte/unikernel/duniverse/dune_/.devcontainer/devcontainer.json
2025-11-11 02:07:51 +01:00

8 lines
466 B
JSON

{
"name": "OCaml",
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
"features": { "ghcr.io/avsm/ocaml-devcontainers-feature/ocaml:latest": {} },
"postCreateCommand": "opam init -ay --disable-sandboxing && sudo chown vscode _build && sudo apt-get update && make dev-switch && sudo apt install -y file npm",
"mounts": ["source=${localWorkspaceFolderBasename}-ocaml-build,target=${containerWorkspaceFolder}/_build,type=volume"],
"remoteUser": "vscode"
}