Last active
October 11, 2023 14:09
-
-
Save 0xbe7a/5d63952486373e3e110c499bf35e4397 to your computer and use it in GitHub Desktop.
Cloud init config to bootstrap a conda-build test machine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
apt_update: true | |
packages: | |
- wget | |
- curl | |
- bzip2 | |
- git | |
runcmd: | |
- curl -Ls https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj -C /tmp bin/micromamba | |
- mv /tmp/bin/micromamba /usr/local/bin/micromamba | |
- micromamba shell init -s bash -p ~/micromamba | |
- micromamba create -y -n base -c conda-forge conda-build | |
- echo "alias mm='micromamba'" >> ~/.bashrc | |
- source ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment