This repository contains a collection of features that can be used to enhance the development experience in a Visual Studio Code Dev Container.
The features are organized in separate folders and can be used individually in a devcontainer.json file.
The installation script can be run locally and/or in a devcontainer environment.
When run locally:
- Features are installed in the local environment.
- A
devcontainer.jsonfile is optionally created for the remote development experience.
npx tomgrv/devcontainer-features -hnpx tomgrv/devcontainer-features -- initnpx tomgrv/devcontainer-features -- add gitutilsnpx tomgrv/devcontainer-features -- add -a| Feature | Description |
|---|---|
| GitUtils | Git aliases and workflow automation |
| GitHooks | Commit hooks: commitlint, prettier, lint-staged |
| GitVersion | Semantic versioning via GitVersion |
| Act | Run GitHub Actions locally via nektos/act |
| PECL | PHP extension installer via PECL |
| Larasets | Laravel-specific development utilities |
| Common Utils | Shared utilities used by other features |
| Gateway | SSL certificate management for corporate networks |
| Minikube | Local Kubernetes cluster via Minikube |
A collection of Git aliases, git-flow shortcuts, and interactive utilities for automating Git workflows.
π Full documentation
"features": {
"ghcr.io/tomgrv/devcontainer-features/gitutils:5": {}
}npx tomgrv/devcontainer-features -- add gitutilsConfigures Git hooks in one step using commitlint, commitizen, lint-staged, prettier, and devmoji.
π Full documentation
"features": {
"ghcr.io/tomgrv/devcontainer-features/githooks:5": {}
}npx tomgrv/devcontainer-features -- add githooksInstalls GitVersion to calculate semantic version numbers from your Git history.
π Full documentation
"features": {
"ghcr.io/tomgrv/devcontainer-features/gitversion:6": {}
}npx tomgrv/devcontainer-features -- add gitversionInstalls nektos/act to run GitHub Actions locally inside the dev container.
π Full documentation
"features": {
"ghcr.io/tomgrv/devcontainer-features/act:6": {}
}npx tomgrv/devcontainer-features -- add actInstalls PHP extensions from the PHP Extension Community Library (PECL).
π Full documentation
"features": {
"ghcr.io/tomgrv/devcontainer-features/pecl:5": {
"extension": "zip"
}
}npx tomgrv/devcontainer-features -- add peclLaravel-specific settings, shell utilities, Composer scripts, and VS Code extensions for Laravel development.
π Full documentation
"features": {
"ghcr.io/tomgrv/devcontainer-features/larasets:6": {}
}npx tomgrv/devcontainer-features -- add larasetsShared utilities (jq, dos2unix, JSON helpers, logging) used by other features in this collection.
π Full documentation
"features": {
"ghcr.io/tomgrv/devcontainer-features/common-utils:5": {
"utils": "jq dos2unix"
}
}npx tomgrv/devcontainer-features -- add common-utilsHandles SSL inspection certificates for corporate network environments (e.g. Zscaler). Installs the root CA and wraps curl for transparent gateway authentication.
π Full documentation
"features": {
"ghcr.io/tomgrv/devcontainer-features/gateway:5": {}
}npx tomgrv/devcontainer-features -- add gatewayInstalls Minikube to run a single-node Kubernetes cluster locally inside the dev container.
π Full documentation
"features": {
"ghcr.io/tomgrv/devcontainer-features/minikube:6": {}
}npx tomgrv/devcontainer-features -- add minikubeIf you have a feature that you would like to add to this repository, please open an issue or submit a pull request.
This repository is licensed under the MIT License.