b56ca2fe45
Patch for https://github.com/containernetworking/plugins/pull/85 + Windows cni plugins are added (*) win-bridge (hostgw) (*) win-overlay (vxlan) + Windows netconf unit test + Fix appveyor config to run the test + Build release support for windows plugins Address comments From: - https://github.com/containernetworking/plugins/pull/85 - https://github.com/rakelkar/plugins/pull/5/commits/0049c64e3fb5527ab72b9ef1af25e3f6430f3309
18 lines
654 B
Ruby
18 lines
654 B
Ruby
# -*- mode: ruby -*-
|
|
# vi: set ft=ruby :
|
|
|
|
Vagrant.configure(2) do |config|
|
|
config.vm.box = "bento/ubuntu-16.04"
|
|
|
|
config.vm.synced_folder "..", "/go/src/github.com/containernetworking"
|
|
|
|
config.vm.provision "shell", inline: <<-SHELL
|
|
set -e -x -u
|
|
apt-get update -y || (sleep 40 && apt-get update -y)
|
|
apt-get install -y git gcc-multilib gcc-mingw-w64
|
|
wget -qO- https://storage.googleapis.com/golang/go1.10.linux-amd64.tar.gz | tar -C /usr/local -xz
|
|
echo 'export GOPATH=/go' >> /root/.bashrc
|
|
echo 'export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin' >> /root/.bashrc
|
|
cd /go/src/github.com/containernetworking/plugins
|
|
SHELL
|
|
end |