Skip to content

Latest commit

 

History

History
58 lines (36 loc) · 1.94 KB

README.md

File metadata and controls

58 lines (36 loc) · 1.94 KB

Conda, Mamba (Miniforge) (miniforge)

Installs Conda and Mamba package manager and Python3. conda-forge set as the default (and only) channel.

Example Usage

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

Options

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

Supported platforms

linux/amd64 and linux/arm64 platforms debian and ubuntu.

Install packages from conda-forge

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

Conda or Miniforge?

This Feature is similar to ghcr.io/devcontainers/features/conda, but differs in options and arm64 platform support.

Mambaforge or micormamba?

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.

References


Note: This file was auto-generated from the devcontainer-feature.json. Add additional notes to a NOTES.md.