Skip to content

Instantly share code, notes, and snippets.

@0xbe7a
Last active October 11, 2023 14:09
Show Gist options
  • Save 0xbe7a/5d63952486373e3e110c499bf35e4397 to your computer and use it in GitHub Desktop.
Save 0xbe7a/5d63952486373e3e110c499bf35e4397 to your computer and use it in GitHub Desktop.
Cloud init config to bootstrap a conda-build test machine
#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