'Features' are self-contained units of installation code and development container configuration. Features are designed to install on top of wide range of based container images (this repository focuses on debian
based images).
To use a feature from this repository add the corresponding feature to a devcontainer.json
. Each feature has a README.md
file autogenerated from the corresponding feature's devcontainer-feature.json
. The file lists the available options for the feature.
The example below installs the java
SDK using SDKMAN! feature declared in the src folder of this repository. See the relevant feature's README.md
for supported options.
{
"name": "Java",
"image": "mcr.microsoft.com/devcontainers/base:debian",
"features": {
"ghcr.io/ebaskoro/devcontainer-features/sdkman:1": {
"candidate": "java",
"version": "latest"
}
}
}
.
├── README.md
├── src
│ ├── scala
│ │ ├── devcontainer-feature.json
│ │ ├── install.sh
│ │ └── README.md
│ ├── sdkman
│ │ ├── devcontainer-feature.json
│ │ ├── install.sh
│ │ └── README.md
├── test
│ ├── scala
│ │ └── test.sh
│ ├── sdkman
│ │ ├── candidate_java.sh
│ │ └── scenarios.json
...
This repository accepts improvement and bug fix contributions related to the current set of maintained features. Raise the PRs!