Fix NfNamingCode and remove NfcNamingCodes
[ric-plt/vespamgr.git] / Dockerfile
index de491db..9c8a43f 100644 (file)
@@ -38,17 +38,7 @@ WORKDIR $GOPATH/src/vesmgr
 # Copy vesmgr to the Working Directory
 COPY $HOME/ .
 
-RUN GO111MODULE=on go mod download
-
-# Run vesmgr UT
-RUN export GOPATH=$HOME/go && \
-    export PATH=$GOPATH/bin:$GOROOT/bin:$PATH && \
-    go test ./...
-
-# Install vesmgr
-RUN export GOPATH=$HOME/go && \
-    export PATH=$GOPATH/bin:$GOROOT/bin:$PATH && \
-    go install -v ./cmd/vesmgr
+RUN ./build_vesmgr.sh
 
 #################
 #