X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=mc-core%2FDockerfile;h=0f6fa9396144983a1be95ba0b59cd1b5226bc279;hb=0d6fd96d78e807e9996737403d331b0a219592c1;hp=6c09a51135c5d9e337006a2d60d6bb969877df9b;hpb=50db50e8785e69eee93a1f79bbe179f26cd6e589;p=ric-app%2Fmc.git diff --git a/mc-core/Dockerfile b/mc-core/Dockerfile index 6c09a51..0f6fa93 100644 --- a/mc-core/Dockerfile +++ b/mc-core/Dockerfile @@ -16,22 +16,24 @@ ARG STAGE_DIR=/mc -FROM nexus3.o-ran-sc.org:10004/bldr-ubuntu18-c-go:7-u18.04 AS project-build +FROM nexus3.o-ran-sc.org:10004/o-ran-sc/bldr-ubuntu18-c-go:9-u18.04 AS project-build ARG STAGE_DIR -ARG RMR_VER=3.7.4 +ARG RMR_VER=4.4.6 -RUN wget -nv --content-disposition https://packagecloud.io/o-ran-sc/staging/packages/debian/stretch/rmr_${RMR_VER}_amd64.deb/download.deb -RUN wget -nv --content-disposition https://packagecloud.io/o-ran-sc/staging/packages/debian/stretch/rmr-dev_${RMR_VER}_amd64.deb/download.deb +RUN wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_${RMR_VER}_amd64.deb/download.deb +RUN wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr-dev_${RMR_VER}_amd64.deb/download.deb RUN dpkg -i rmr_${RMR_VER}_amd64.deb RUN dpkg -i rmr-dev_${RMR_VER}_amd64.deb RUN ldconfig COPY mc ${STAGE_DIR} WORKDIR ${STAGE_DIR} -RUN apt-get install -y libboost-all-dev -RUN apt-get install -y libhiredis-dev +RUN apt-get update && \ + apt-get install -y libboost-all-dev && \ + apt-get install -y libhiredis-dev && \ + apt-get clean RUN git clone https://gerrit.o-ran-sc.org/r/ric-plt/sdl WORKDIR ${STAGE_DIR}/sdl RUN ./autogen.sh @@ -57,9 +59,11 @@ RUN make RUN make install RUN ldconfig WORKDIR ${STAGE_DIR} -RUN git clone -b release/0.1.0 https://gerrit.o-ran-sc.org/r/com/gs-lite +RUN git clone -b release/0.3.0 https://gerrit.o-ran-sc.org/r/com/gs-lite WORKDIR ${STAGE_DIR}/gs-lite -COPY mc/cfg ${STAGE_DIR}/gs-lite/cfg +COPY mc/cfg/packet_schema.txt ${STAGE_DIR}/gs-lite/cfg/ +COPY mc/cfg/ifres.xml ${STAGE_DIR}/gs-lite/cfg/ +COPY mc/cfg/localhost.ifq ${STAGE_DIR}/gs-lite/cfg/ COPY mc/local_datasource ${STAGE_DIR}/gs-lite/src/lib/gscprts/local_datasource COPY mc/local ${STAGE_DIR}/gs-lite/include/lfta/local COPY mc/queries ${STAGE_DIR}/gs-lite/demo/queries @@ -72,7 +76,7 @@ RUN python generate_runall.py # now install the binaries and libraries into smaller docker image -FROM nexus3.o-ran-sc.org:10004/o-ran-sc/ric-app-mc-listener:1.5.0 +FROM nexus3.o-ran-sc.org:10002/o-ran-sc/ric-app-mc-listener:1.7.0 ARG STAGE_DIR