Installs Conda and Mamba package manager and Python3. conda-forge set as the default (and only) channel.
"features": {
"ghcr.io/rocker-org/devcontainer-features/miniforge:1": {}
}
Options Id | Description | Type | Default Value |
---|---|---|---|
version | Select version of Miniforge. | string | latest |
variant | Select Conda only (Miniforge) or Conda plus Mamba (Mambaforge), and install CPython (non-suffixed) or PyPy (-pypy3). | string | Mambaforge |
linux/amd64
and linux/arm64
platforms debian
and ubuntu
.
We can install packages from conda-forge using conda
or mamba
.
For example, install specific version of Pytnon as follows:
mamba install -y python=3.7
This Feature is similar to ghcr.io/devcontainers/features/conda
,
but differs in options and arm64 platform support.
The ghcr.io/mamba-org/devcontainer-features/micromamba
Feature
installs only micromamba, a single binary command line tool.
micromamba is lightweight, so installation is quick.
If you do not need Conda, Mamba (which exist on top of Python) or Python by default, the micromamba Feature may be a better choice.
Note: This file was auto-generated from the devcontainer-feature.json. Add additional notes to a NOTES.md
.