Skip to content

Instantly share code, notes, and snippets.

@pb10005
Created September 20, 2021 16:40
Show Gist options
  • Save pb10005/83da856bc0e52a24522cd6604fc2d818 to your computer and use it in GitHub Desktop.
Save pb10005/83da856bc0e52a24522cd6604fc2d818 to your computer and use it in GitHub Desktop.
Rustの開発環境構築
$script = <<SCRIPT
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source $HOME/.cargo/env
SCRIPT
Vagrant.configure("2") do |config|
config.vm.box = "generic/debian10"
config.vm.synced_folder "./volume", "/home/vagrant/app", create: true
config.vm.provision "shell", inline: $script, privileged: false
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment