// The Dev Container format allows you to configure your environment. At the heart of it
// is a Docker image or Dockerfile which controls the tools available in your environment.
//
// See https://aka.ms/devcontainer.json for more information.
{
	"name": "Ona",
	// Use "image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04",
	// instead of the build to use a pre-built image.
	"build": {
		"context": ".",
		"dockerfile": "Dockerfile"
	},
	"postCreateCommand": "bun install",
	"postStartCommand": "./scripts/setup-git.sh && ./scripts/setup-nvim.sh",
	// Features add additional features to your environment. See https://containers.dev/features
	// Beware: features are not supported on all platforms and may have unintended side-effects.
	"features": {
		"ghcr.io/tailscale/codespace/tailscale": {
			"version": "latest"
		}
	}
}
