X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ci%2FDockerfile;h=32aa18e3db21d179cc430d3a3f953256e87670e5;hb=refs%2Ftags%2Fv0.9.16;hp=73ec7cd01cba49a00ce131d886e8e6f45aef34d6;hpb=4582bb0db597fcfe16672e145ddc9ecebc5830a4;p=ric-plt%2Fxapp-frame.git diff --git a/ci/Dockerfile b/ci/Dockerfile index 73ec7cd..32aa18e 100755 --- a/ci/Dockerfile +++ b/ci/Dockerfile @@ -17,7 +17,8 @@ # #---------------------------------------------------------- -FROM nexus3.o-ran-sc.org:10004/bldr-ubuntu18-c-go:3-u18.04-nng as xapp-base +FROM nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-ubuntu20-c-go:1.0.0 as xapp-base + RUN apt-get update -y \ &&apt-get install -y \ @@ -36,10 +37,10 @@ RUN apt-get update -y \ RUN curl -s https://packagecloud.io/install/repositories/o-ran-sc/master/script.deb.sh | bash # RMR -ARG RMRVERSION=1.13.1 +ARG RMRVERSION=4.9.0 #RUN apt-get install -y rmr=${RMRVERSION} rmr-dev=${RMRVERSION} -RUN wget --content-disposition https://packagecloud.io/o-ran-sc/staging/packages/debian/stretch/rmr_${RMRVERSION}_amd64.deb/download.deb && dpkg -i rmr_${RMRVERSION}_amd64.deb -RUN wget --content-disposition https://packagecloud.io/o-ran-sc/staging/packages/debian/stretch/rmr-dev_${RMRVERSION}_amd64.deb/download.deb && dpkg -i rmr-dev_${RMRVERSION}_amd64.deb +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 +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 RUN rm -f rmr_${RMRVERSION}_amd64.deb rmr-dev_${RMRVERSION}_amd64.deb # @@ -74,5 +75,9 @@ RUN make -C /ws go-build # Test fmt RUN make -C /ws go-test-fmt -# Test Requires dbaas -#RUN make -C /ws go-test +#RUN sed -r "s/^(::1.*)/#\1/" /etc/hosts > /etc/hosts.new \ +# && cat /etc/hosts.new > /etc/hosts \ +# && cat /etc/hosts \ +# && make -C /ws go-test + +RUN make -C /ws go-test