Skip to content

Latest commit

 

History

History
58 lines (41 loc) · 1.48 KB

File metadata and controls

58 lines (41 loc) · 1.48 KB

apt packages (apt-packages)

Installs packages via apt.

Example Usage

"features": {
    "ghcr.io/rocker-org/devcontainer-features/apt-packages:1": {}
}

Options

Options Id Description Type Default Value
packages Comma separated list of packages to install. string -
upgradePackages Upgrade apt packages? boolean false

How to specify packages?

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"
    }
}

Installation order

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.