Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add bun installation features via GitHub releases and asdf version manager #596

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

mthsmb
Copy link

@mthsmb mthsmb commented Apr 19, 2024

This pull request introduces two new features for installing Bun, a fast all-in-one JavaScript runtime, in devcontainers:

  1. Bun Installation via GitHub Releases
  • Installs Bun using the official GitHub releases.
  • Ensures the latest or a specific version of Bun is installed based on the platform requirements of the user's system.
  • Supports Linux (x86_64 and aarch64), macOS (x86_64 and arm64).
  1. Bun Installation via asdf Version Manager
  • Installs Bun using the asdf version manager and the asdf-bun plugin.
  • Allows specifying and switching between different versions of Bun easily.
  • Leverages the asdf-bun plugin, which is already included in the official asdf plugins repository.

Both features provide a convenient and flexible way to incorporate Bun into your devcontainer setup. They allow you to choose between a direct installation via GitHub releases or a version-managed installation using asdf.

Example usage in a devcontainer configuration:

"features": {
 "ghcr.io/devcontainers-contrib/features/bun:1": {},
 "ghcr.io/devcontainers-contrib/features/bun-asdf:1": {}
}

@mthsmb mthsmb changed the title Add Bun Installation Features via GitHub Releases and asdf Version Manager feat: add bun installation features via GitHub releases and asdf version manager Apr 20, 2024
@evilhamsterman
Copy link

This project is not associated with the devcontainer project and appears to have been abandoned #628 . The official project has removed all devcontainer-contrib features from their listing. devcontainers/devcontainers.github.io#451. There is a fork that is being worked on to update and maintain the features https://github.com/devcontainers-extra/features

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants