Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Outline

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.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.