mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
bootstrap vagrant development environment with protoc
This commit is contained in:
4
Vagrantfile
vendored
4
Vagrantfile
vendored
@@ -136,6 +136,10 @@ def configureLinuxProvisioners(vmCfg)
|
||||
privileged: true,
|
||||
path: './scripts/vagrant-linux-priv-rkt.sh'
|
||||
|
||||
vmCfg.vm.provision "shell",
|
||||
privileged: true,
|
||||
path: './scripts/vagrant-linux-protoc.sh'
|
||||
|
||||
vmCfg.vm.provision "shell",
|
||||
privileged: false,
|
||||
path: './scripts/vagrant-linux-priv-ui.sh'
|
||||
|
||||
8
scripts/vagrant-linux-protoc.sh
Executable file
8
scripts/vagrant-linux-protoc.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# set up protoc so that we can use it for protobuf generation
|
||||
PROTOC_ZIP=protoc-3.3.0-osx-x86_64.zip
|
||||
curl -OL https://github.com/google/protobuf/releases/download/v3.3.0/$PROTOC_ZIP
|
||||
sudo unzip -o $PROTOC_ZIP -d /usr/local bin/protoc
|
||||
rm -f $PROTOC_ZIP
|
||||
|
||||
Reference in New Issue
Block a user