Created
September 20, 2021 16:40
-
-
Save pb10005/83da856bc0e52a24522cd6604fc2d818 to your computer and use it in GitHub Desktop.
Rustの開発環境構築
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
$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