Skip to content

3Rafal/ocaml-devcontainer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 

Repository files navigation

OCaml Dev Container

A template dev container for OCaml development, which is based on the latest stable versions of OCaml and Debian. The current configuration supports:

How to use it?

Dev Container is supported by Visual Studio Code and GitHub Codespaces. Follow the steps below to setup an environment where you can work on your OCaml projects.

VS Code

  1. Install Docker Desktop
  2. Install Dev Containers extension
  3. Clone this repository.
  4. Execute command Dev Containers: Open Folder in Container... and open previously cloned repository.
  5. VS Code will run a Dev Container. This step may take time during the first execution because the container has to be built from scratch.

GitHub Codespaces

Follow Codespace quickstart guide

How to customize Dev Container?

Configuration is specified in files under .devcontainer directory, which can be edited to tailor Dev Container to your needs.

devcontainer.json

Contains metadata and settings for Dev Container. Specification

Dockerfile

Contains commands for building Dev Container docker image. Specification

Creating your own Dev Container

This project can be used as a template for creating Dev Container for your own project. To do this, you need to copy .devcontainer directory into your project's root. It's a way to provide a shared dev environment for all contributors.

About

Dev container for OCaml

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published