Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .devcontainer/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Shared Dune Caching across DevContainers

This container stores a dune cache on the host in `~/.cache/remote_dune`; this
is shared between different containers.

You can use `dune cache trim` commands inside a container to reduce its size, or
simply remove the folder from the host as desired, as long as containers are not
running.
26 changes: 26 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// For format details, see https://aka.ms/devcontainer.json.
{
"name": "SkyLabs FM default",
"image":
"ghcr.io/skylabsai/workspace:fm-default",
"runArgs": [
"--platform",
"linux/amd64",
// We prefer --volume over "mounts" because it auto-creates the host folder.
"--volume",
"${localEnv:HOME}/.cache/remote_dune:/home/coq/.cache/dune:cached"
],
"customizations": {
"vscode": {
"settings": {
"vsrocq.path": "/workspaces/workspace/_build/install/default/bin/vsrocqtop"
},
"extensions": [
"rocq-prover.vsrocq",
"ocamllabs.ocaml-platform",
"[email protected]",
"mr-konn.generic-input-method"
]
}
}
}