This repository has been archived by the owner on Nov 9, 2020. It is now read-only.
Adds Docker plugin build script for Windows [SKIP CI] #1565
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds
build.bat
which creates thevsphere.json
config file under theDocker
plugin config directory, and builds the plugin binaries i.e.vmci_client.dll
andvdvs.exe
.Fixes #1558.
Build Instructions
The plugin can be built on
Windows 2016 Server
andWindows 10 Pro/Enterprise/Education
(anniversary release) VMs.Dependencies
gcc
, which is required forCGO
inGo
.Building
cmd
andcd
to thedocker-volume-vsphere
directory.build.bat
.Output
The script generates
vmci_client.dll
andvdvs.exe
under thedocker-volume-vsphere\build\windows
directory.Usage
vdvs.exe
.Docker
commands likedocker volume create --driver=vsphere volName
.Script Output