-
-
Save tdhopper/4d207dfed456b8d21e7102fe299b9195 to your computer and use it in GitHub Desktop.
Vagrantfile: AWS Linux with miniconda3 installed
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
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