X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ci%2FDockerfile;h=71aaed31c11ea2844f8ea7239c8fdd5760cee188;hb=refs%2Fchanges%2F26%2F7026%2F1;hp=01e768dbf2f8b9b035da4cc56717e27ab3e6e0f2;hpb=12725b8abba8c34004b46add5657eaf24511141e;p=ric-plt%2Fxapp-frame.git diff --git a/ci/Dockerfile b/ci/Dockerfile index 01e768d..71aaed3 100755 --- a/ci/Dockerfile +++ b/ci/Dockerfile @@ -17,7 +17,9 @@ # #---------------------------------------------------------- -FROM nexus3.o-ran-sc.org:10004/o-ran-sc/bldr-ubuntu18-c-go:8-u18.04 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 \ apt-utils \ @@ -35,7 +37,7 @@ RUN apt-get update -y \ RUN curl -s https://packagecloud.io/install/repositories/o-ran-sc/master/script.deb.sh | bash # RMR -ARG RMRVERSION=4.0.5 +ARG RMRVERSION=4.2.2 #RUN apt-get install -y rmr=${RMRVERSION} rmr-dev=${RMRVERSION} 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 @@ -73,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