Skip to content

About

Adds asdf setup after version 0.16.0

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

Dev Container Features: hoverkraft-tech

GitHub Verified Creator License PRs welcome GitHub Stars

Hoverkraft's reusable Dev Container Features configure development tools inside containers.

Available features

Feature Purpose
asdf Install the Go-based asdf version manager and configure users' shells.

Prerequisites

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.

Usage

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 --client

See the asdf usage guide for version selection and private registry access, and the documentation index for all guides.

Contributing

See the development and CI guide for local checks, feature tests, and publishing.

License

MIT.

About

Adds asdf setup after version 0.16.0

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages