X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Dockerfile;h=1d13c4818533b4c5aacbe3360405da4112d2644a;hb=e42efedffc650788bd1b1573c9bf7e4d16161562;hp=09d92799712da106d399f954411be01bb4ee1e74;hpb=cb7dd49aa5f40a880b37a6bc35c972ef2773c164;p=ric-plt%2Fsubmgr.git diff --git a/Dockerfile b/Dockerfile index 09d9279..1d13c48 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,11 +23,17 @@ ########################################################### # ########################################################### -FROM nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-ubuntu18-c-go:1.9.0 as submgrcore +FROM nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-ubuntu20-c-go:1.0.0 as submgrcore -ARG GOVERSION=1.14 +ARG g14="1.14.4" +ARG GOVERSION="1.14" +RUN wget -nv https://dl.google.com/go/go${g14}.linux-amd64.tar.gz \ + && tar -xf go${g14}.linux-amd64.tar.gz \ + && mv go /opt/go/${GOVERSION} \ + && rm -f go*.gz -ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/go/bin:/opt/go/${GOVERSION}/bin:/root/go/bin +ENV DEFAULTPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +ENV PATH=$DEFAULTPATH:/usr/local/go/bin:/opt/go/${GOVERSION}/bin:/root/go/bin # Update CA certificates RUN apt update && apt install --reinstall -y \ @@ -67,7 +73,7 @@ RUN export GOBIN=/usr/local/bin/ ; \ # # RMR # -ARG RMRVERSION=4.7.4 +ARG RMRVERSION=4.8.0 ARG RMRLIBURL=https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_${RMRVERSION}_amd64.deb/download.deb ARG RMRDEVURL=https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr-dev_${RMRVERSION}_amd64.deb/download.deb RUN wget --content-disposition ${RMRLIBURL} && dpkg -i rmr_${RMRVERSION}_amd64.deb @@ -205,7 +211,7 @@ RUN test -z "$(gofmt -l pkg/teststube2ap/*.go)" ########################################################### # ########################################################### -FROM ubuntu:18.04 +FROM ubuntu:20.04 RUN apt update && apt install -y iputils-ping net-tools curl tcpdump