Base for devcontainer
  • Dockerfile 68.6%
  • Shell 31.4%
Find a file
mngste 8d8bdeed0a init
remove pangolin
2026-03-04 14:32:40 +01:00
.devcontainer init 2026-03-04 14:32:40 +01:00
scripts init 2026-03-04 14:32:40 +01:00
mise.toml init 2026-03-04 14:32:40 +01:00
README.md init 2026-03-04 14:32:40 +01:00

Devpod Example

A simple example of how to use my dotfiles repository with a Devpod devcontainer. It works completely independent of your operating system — all you need is Devpod and a provider of your choice. In this example, well use Docker as the provider.

We also use mise as our all-in-one, cross-OS package manager. It provides a great developer experience, allowing us to easily switch between versions of programming languages without restarting the container.

How does it work?

After installing Devpod, make sure to add the Docker provider:

devpod provider add docker

From the project root, run the following command to start your workspace:

devpod up --dotfiles https://git.terrasync.fr/mngt/dotfiles.git .

It will perform the following actions:

  1. Create a container based on the devcontainer.json file located in .devcontainer/.
  2. Run scripts/setup to trust the mise.toml tool specification which is required before mise will install the defined tools.

Devpod Dotfiles Support

Devpod has built-in dotfiles support. When you pass --dotfiles https://git.terrasync.fr/mngt/dotfiles.git, Devpod will clone the repository and look for a setup script in the following locations:

  • install.sh
  • install
  • bootstrap.sh
  • bootstrap
  • script/bootstrap
  • setup.sh
  • setup
  • script/setup

Once a matching script is found, it will be executed.

From there, chezmoi takes over to apply and initialize the dotfiles.

You can check my dotfiles repository to see the full workflow.