VOL-2126 - update the dockerfile to set the new version information based on voltha-lib-go

Change-Id: Iab01409e9e73f56fafddfe265998839bc89f95b4
diff --git a/internal/pkg/config/config.go b/internal/pkg/config/config.go
index de5d208..4070256 100644
--- a/internal/pkg/config/config.go
+++ b/internal/pkg/config/config.go
@@ -41,6 +41,7 @@
 	default_OnuNumber        = 1
 	default_ProbeHost        = ""
 	default_ProbePort        = 8080
+	default_PrintVersion     = false
 )
 
 // AdapterFlags represents the set of configurations used by the read-write adaptercore service
@@ -62,6 +63,7 @@
 	Banner           bool
 	ProbeHost        string
 	ProbePort        int
+	PrintVersion     bool
 }
 
 func init() {
@@ -87,6 +89,7 @@
 		Banner:           default_Banner,
 		ProbeHost:        default_ProbeHost,
 		ProbePort:        default_ProbePort,
+		PrintVersion:     default_PrintVersion,
 	}
 	return &adapterFlags
 }
@@ -141,6 +144,9 @@
 	help = fmt.Sprintf("The port on which to listen to answer liveness and readiness probe queries over HTTP.")
 	flag.IntVar(&(so.ProbePort), "probe_port", default_ProbePort, help)
 
+	help = fmt.Sprintf("Print the version information and exit.")
+	flag.BoolVar(&so.PrintVersion, "version", default_PrintVersion, help)
+
 	flag.Parse()
 
 	containerName := getContainerInfo()