Skip to content

Instantly share code, notes, and snippets.

@tdhopper
Forked from malev/Vagrantfile
Last active January 1, 2018 09:35
Show Gist options
  • Save tdhopper/4d207dfed456b8d21e7102fe299b9195 to your computer and use it in GitHub Desktop.
Save tdhopper/4d207dfed456b8d21e7102fe299b9195 to your computer and use it in GitHub Desktop.
Vagrantfile: AWS Linux with miniconda3 installed
Vagrant.configure("2") do |config|
config.vm.box = "mvbcoding/awslinux"
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.provision "shell", inline: <<-SHELL
sudo yum update -q -y
su - vagrant
wget -q https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
chmod +x miniconda.sh
./miniconda.sh -b -p /home/vagrant/miniconda
echo 'export PATH="/home/vagrant/miniconda/bin:$PATH"' >> /home/vagrant/.bashrc
source /home/vagrant/.bashrc
chown -R vagrant:vagrant /home/vagrant/miniconda
/home/vagrant/miniconda/bin/conda install conda-build anaconda-client anaconda-build -y -q
SHELL
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment