This sets the version to `git describe --always --dirty` using the
`-X github.com/containers/gvisor-tap-vsock/pkg/types.ModuleVersion`
linker flag.
This adds a -version flag to all binaries which currently have
command-line flags.
Correct versioning when installing from tarballs, and through
`go install` will be addressed in the next commits.
This fixes https://github.com/containers/gvisor-tap-vsock/issues/295
Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
ioutil has been deprecated since golang 1.16.
This commit uses the replacement methods from the os or io packages.
This should fix some golangci-lint CI failures.
Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
Cleanup references to the host application which is now called gvproxy
as well as change project references from github/code-ready to
github.com/containers.
Signed-off-by: Brent Baude <bbaude@redhat.com>