RIC:1060: Change in PTL
[ric-plt/rtmgr.git] / Dockerfile
index 6963a30..09059e0 100644 (file)
@@ -25,8 +25,9 @@
 #FROM golang:1.12.1 as rtmgrbuild
 FROM nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-ubuntu20-c-go:1.0.0 as rtmgrbuild
 
+RUN apt update && apt install ca-certificates libgnutls30 -y
 # Install RMr shared library
-ARG RMRVERSION=4.8.0
+ARG RMRVERSION=4.9.4
 RUN wget --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_${RMRVERSION}_amd64.deb/download.deb && dpkg -i rmr_${RMRVERSION}_amd64.deb && rm -rf rmr_${RMRVERSION}_amd64.deb
 # Install RMr development header files
 RUN wget --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr-dev_${RMRVERSION}_amd64.deb/download.deb && dpkg -i rmr-dev_${RMRVERSION}_amd64.deb && rm -rf rmr-dev_${RMRVERSION}_amd64.deb
@@ -69,6 +70,7 @@ COPY "uta_rtg_ric.rt" /
 ENV GOPATH /go
 
 ENV GOBIN /go/bin
+RUN go mod download
 RUN go install ./cmd/rtmgr.go
 
 # UT intermediate container