Add missed definition for Docker function

Change-Id: I7e07ff3d1ad0fb518c1762d77288babeaaeeccc5
diff --git a/src/com/mirantis/mcp/Calico.groovy b/src/com/mirantis/mcp/Calico.groovy
index eaa3360..c73fa10 100644
--- a/src/com/mirantis/mcp/Calico.groovy
+++ b/src/com/mirantis/mcp/Calico.groovy
@@ -72,19 +72,20 @@
   def birdclUrl = config.birdclUrl ?: "${artifactoryUrl}/${projectNamespace}/bird/birdcl-${birdBuildId}"
 
   // add LABELs to dockerfiles
-  setDockerfileLabels("./calicoctl/Dockerfile.calicoctl",
-                     ["docker.imgTag=${imgTag}",
-                      "calico.buildImage=${buildImage}",
-                      "calico.birdclUrl=${birdclUrl}"])
+  def docker = new com.mirantis.mcp.Docker()
+  docker.setDockerfileLabels("./calicoctl/Dockerfile.calicoctl",
+                             ["docker.imgTag=${imgTag}",
+                              "calico.buildImage=${buildImage}",
+                              "calico.birdclUrl=${birdclUrl}"])
 
-  setDockerfileLabels("./calico_node/Dockerfile",
-                     ["docker.imgTag=${imgTag}",
-                      "calico.buildImage=${buildImage}",
-                      "calico.felixImage=${felixImage}",
-                      "calico.confdUrl=${confdUrl}",
-                      "calico.birdUrl=${birdUrl}",
-                      "calico.bird6Url=${bird6Url}",
-                      "calico.birdclUrl=${birdclUrl}"])
+  docker.setDockerfileLabels("./calico_node/Dockerfile",
+                             ["docker.imgTag=${imgTag}",
+                              "calico.buildImage=${buildImage}",
+                              "calico.felixImage=${felixImage}",
+                              "calico.confdUrl=${confdUrl}",
+                              "calico.birdUrl=${birdUrl}",
+                              "calico.bird6Url=${bird6Url}",
+                              "calico.birdclUrl=${birdclUrl}"])
 
   // Start build section
   stage ('Build calico/ctl image'){