X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Dockerfile;fp=Dockerfile;h=4bdb14c80d8d7d088be0318f5ae36a93035a8d24;hb=a1c3215e1958ae48bee83e3f44856c6df420d293;hp=17bbb2574ec97d0f11cf1ef17186e0b16888d70f;hpb=03ce172aee993d79a43644845077a3b0a3c7c848;p=ric-plt%2Fvespamgr.git diff --git a/Dockerfile b/Dockerfile index 17bbb25..4bdb14c 100755 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,7 @@ # platform project (RICP). # -FROM golang:1.16 as gobuild +FROM golang:1.13 as gobuild # Install utilities RUN apt update && apt install -y iputils-ping net-tools curl sudo @@ -31,6 +31,9 @@ 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 +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 # Install VES Agent RUN export GOPATH=$HOME/go && \