Sign inSign up

cuihtlauac/ocaml-devcontainer

By cuihtlauac

•Updated 4 months ago

Production-ready OCaml development environment for VS Code, Codespaces, and any editor.

Image
0

6.4K

cuihtlauac/ocaml-devcontainer repository overview

⁠OCaml DevContainer

Production-ready OCaml development environment for VS Code, GitHub Codespaces, and any editor. Designed for tutorials and workshops where zero-friction onboarding is critical.

⁠Quick Start

⁠GitHub Codespaces (Instant)

[!Open in GitHub Codespaces⁠](https://codespaces.new/tarides/ocaml-devcontainer⁠)

⁠GitHub CLI
gh codespace create --repo tarides/ocaml-devcontainer
gh codespace ssh
⁠Local (Any Editor)
npm install -g @devcontainers/cli
git clone https://github.com/tarides/ocaml-devcontainer.git
cd ocaml-devcontainer
devcontainer up --workspace-folder .
devcontainer exec --workspace-folder . dune build

⁠What's Included

  • OCaml 5.4 with standard and ThreadSanitizer variants
  • Build: dune, ocaml-lsp-server, merlin, ocamlformat, utop, odoc
  • Testing: alcotest, ppx_expect, qcheck
  • Profiling: landmarks, memtrace, olly
  • Editors: VS Code, Vim, Emacs, Neovim, Claude Code

⁠OCaml Switches

SwitchDescription
5.4.0Standard OCaml 5.4 (default)
5.4.0+tsanThreadSanitizer for race detection

⁠For Tutorial Authors

FROM cuihtlauac/ocaml-devcontainer:latest
RUN opam install -y lwt eio
COPY exercises/ /home/vscode/exercises/

⁠Source

github.com/tarides/ocaml-devcontainer⁠

Tag summary

Content type

Image

Digest

sha256:16706c837…

Size

1.5 GB

Last updated

4 months ago

docker pull cuihtlauac/ocaml-devcontainer