Hoverkraft's reusable Dev Container Features configure development tools inside containers.
| Feature | Purpose |
|---|---|
| asdf | Install the Go-based asdf version manager and configure users' shells. |
Use a tool that supports Dev Container Features, such as Visual Studio Code Dev Containers, GitHub Codespaces, or the devcontainer CLI. The asdf feature requires a Linux container with Bash on AMD64 or ARM64.
Add the feature to your .devcontainer/devcontainer.json:
{
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"features": {
"ghcr.io/hoverkraft-tech/devcontainers/asdf:1": {}
}
}Rebuild the container, then install a tool through asdf:
asdf plugin add kubectl
asdf install kubectl latest
asdf set kubectl latest
kubectl version --clientSee the asdf usage guide for version selection and private registry access, and the documentation index for all guides.
See the development and CI guide for local checks, feature tests, and publishing.
MIT.