Added protocol ie type checks into get functions.

Change-Id: I4bd91809204d0e0b777069b0114037b5e701ee0e
Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
diff --git a/Dockerfile b/Dockerfile
index 1fa3ad7..3f9ad1c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -20,7 +20,7 @@
 #	Abstract:	Builds a container to compile Subscription Manager's code
 #	Date:		28 May 2019
 #
-FROM nexus3.o-ran-sc.org:10004/bldr-ubuntu18-c-go:3-u18.04-nng as submgrbuild
+FROM nexus3.o-ran-sc.org:10004/bldr-ubuntu18-c-go:3-u18.04-nng as submgrprebuild
 
 RUN apt update && apt install -y iputils-ping net-tools curl tcpdump gdb
 
@@ -79,6 +79,8 @@
 RUN cd e2ap && test -z "$(/usr/local/go/bin/gofmt -l pkg/e2ap/*.go)"
 RUN cd e2ap && test -z "$(/usr/local/go/bin/gofmt -l pkg/e2ap/e2ap_tests/*.go)"
 
+
+FROM submgrprebuild as submgrbuild
 #
 #
 #