A collection of Dev Container Features optimized for Alpine Linux environments. These features provide lightweight, secure, and efficient development environments.
| Feature | Description | Version |
|---|---|---|
| alpine-node | Node.js, npm, Yarn and pnpm on Alpine Linux | 1.0.0 |
| alpine-temurin | Temurin JDK on Alpine Linux | 1.0.0 |
| alpine-chromium | Minimal Chromium for headless testing | 1.0.0 |
To reference a feature from this repository, add the desired features to a devcontainer.json:
{
"image": "mcr.microsoft.com/devcontainers/base:alpine",
"features": {
"ghcr.io/ausginer/alpine-features/alpine-node:1": {
"nodeVersion": "22",
"npmVersion": "latest",
"yarnVersion": "latest"
},
"ghcr.io/ausginer/alpine-features/alpine-temurin:1": {
"javaVersion": "17"
},
"ghcr.io/ausginer/alpine-features/alpine-chromium:1": {}
}
}Installs Node.js, npm, Yarn and pnpm versions for a consistent JavaScript development environment on Alpine Linux.
Options:
nodeVersion(string): The Node.js version to install (default: "lts")npmVersion(string): The npm version to install (default: "none")yarnVersion(string): The Yarn version to install (default: "none")pnpmVersion(string): The pnpm version to install (default: "none")
Installs Temurin JDK for a consistent Java development environment on Alpine Linux.
Options:
javaVersion(string): The Java version to install (default: "lts")
Installs minimal Chromium browser for headless testing and automation on Alpine Linux. Optimized for CI/CD pipelines and automated testing scenarios.
Dependencies:
- Installs after
ghcr.io/devcontainers/features/common-utils
This repository follows the dev container feature distribution specification.
The features are automatically built and published using GitHub Actions. To test locally:
- Clone this repository
- Use the Dev Container CLI or VS Code to test features
- Submit a pull request with your changes
- Create a new directory under
src/with your feature name - Add a
devcontainer-feature.jsonfile with feature metadata - Add an
install.shscript that implements the installation - Add a
README.mdfile documenting the feature - Update this main README with your feature information
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
For issues and questions:
- Create an issue in this repository
- Check the Dev Containers specification
- Review the Alpine Linux documentation