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:2": {}
}| Options Id | Description | Type | Default Value |
|---|---|---|---|
| version | Select version of Miniforge. | string | latest |
| variant | Select install CPython (3) or PyPy (-pypy3, which is deprecated and no longer available after version 24.9.0). | string | Miniforge3 |
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.7This 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.
- Change the default value of
variantfrom"Mambaforge"to"Miniforge3", sinse as of 2024-07-21,Mambaforgeis deprecated. See the official announcement: Sunsetting Mambaforge
Note: This file was auto-generated from the devcontainer-feature.json. Add additional notes to a NOTES.md.