X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Dockerfile;h=09059e032a421733eb309cc782f63868ec55e487;hb=HEAD;hp=6963a300f47752f24dcb104c31db06366c828dff;hpb=6aaf1fb82db518448d60fd908e5dca3834d78e23;p=ric-plt%2Frtmgr.git diff --git a/Dockerfile b/Dockerfile index 6963a30..09059e0 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.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