FCA_MEC-6257: Vespamgr changes for Ubuntu20.4 51/7051/1
authorAnupama P <anupama.p@nokia.com>
Fri, 12 Nov 2021 11:35:42 +0000 (06:35 -0500)
committerManoj Manoj <manoj.1.manoj@nokia.com>
Fri, 12 Nov 2021 14:37:49 +0000 (09:37 -0500)
Change-Id: I16080c952606b327fda1a85d0a9050e617732c6f
Signed-off-by: Manoj Manoj <manoj.1.manoj@nokia.com>
Dockerfile

index 4bdb14c..c61aded 100755 (executable)
@@ -18,7 +18,7 @@
 #   platform project (RICP).
 #
 
-FROM golang:1.13 as gobuild
+FROM golang:1.16 as gobuild
 
 # Install utilities
 RUN apt update && apt install -y iputils-ping net-tools curl sudo
@@ -31,7 +31,7 @@ WORKDIR $GOPATH/src/VESPA
 RUN git clone -b v0.3.0 https://github.com/nokia/ONAP-VESPA.git $GOPATH/src/VESPA
 
 RUN GO111MODULE=on go mod download
-ENV GOLANG_VERSION 1.13.10
+ENV GOLANG_VERSION 1.16
 RUN wget --quiet https://dl.google.com/go/go$GOLANG_VERSION.linux-amd64.tar.gz \
        && tar xvzf go$GOLANG_VERSION.linux-amd64.tar.gz -C /usr/local
 
@@ -49,7 +49,7 @@ WORKDIR /go/src/vespamgr
 RUN ./build_vesmgr.sh
 
 # Final, executable and deployable container
-FROM ubuntu:18.04
+FROM ubuntu:20.04
 
 RUN mkdir -p /etc/ves-agent