X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=Dockerfile;h=71a6e2fdcd74bed1395353028b212d66eb823d3d;hb=refs%2Ftags%2F0.9.5;hp=d4791838d4224868fd68a3669f0f79031710caec;hpb=dcf37cd557d3d206edfde4d514e588af66cffe5f;p=ric-plt%2Frtmgr.git diff --git a/Dockerfile b/Dockerfile index d479183..71a6e2f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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.7.4 +ARG RMRVERSION=4.9.1 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