Installs packages via apt.
"features": {
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1": {}
}
Options Id | Description | Type | Default Value |
---|---|---|---|
packages | Comma separated list of packages to install. | string | - |
upgradePackages | Upgrade apt packages? | boolean | false |
Specify package names separated by commas in the packages
option.
The following example installs curl
and nano
.
"features": {
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1": {
"packages": "curl,nano"
}
}
Specify the installation order of Features
by the overrideFeatureInstallOrder
property.
The following example installs the r-cran-curl
package after the r-apt
Feature is installed.
"features": {
"ghcr.io/rocker-org/devcontainer-features/r-apt:latest": {},
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1": {
"packages": "r-cran-curl"
}
},
"overrideFeatureInstallOrder": [
"ghcr.io/rocker-org/devcontainer-features/r-apt"
]
Note: This file was auto-generated from the devcontainer-feature.json. Add additional notes to a NOTES.md
.