Custom Dev Container Features for enhanced development environments.
This repository contains the following Dev Container Features:
Installs Air, a live reload tool for Go applications, providing hot reloading capabilities during development.
Usage:
See the go-air README for more details.
Installs the PostgreSQL client (psql) for connecting to and managing PostgreSQL databases from the command line.
Usage:
{
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"features": {
"ghcr.io/nlstn/devcontainer-features/psql:1": {
"version": "latest"
}
}
}See the psql README for more details.
This repository follows the Dev Container Feature distribution specification. Each Feature is located in the src directory with its own:
devcontainer-feature.json- Feature metadata and optionsinstall.sh- Installation scriptREADME.md- Feature documentation
Features can be tested locally using the Dev Container CLI:
npm install -g @devcontainers/cli
devcontainer features test -f go-air .
devcontainer features test -f psql .Contributions are welcome! Please ensure:
- New features follow the existing structure
- Tests are included and passing
- Documentation is updated
See LICENSE for details.
{ "image": "mcr.microsoft.com/devcontainers/go:1", "features": { "ghcr.io/nlstn/devcontainer-features/go-air:1": { "version": "latest" } } }