X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=RIC-E2-TERMINATION%2FDockerfile;h=f34126860fdbbea4a58daf4e6480b47f9c1ad67c;hb=refs%2Fchanges%2F46%2F3046%2F1;hp=57f4383487e1133c7bce749f78f05d5902138d8e;hpb=b5903cc0e1bdb1530e47983f27ea3c2b25953742;p=ric-plt%2Fe2.git diff --git a/RIC-E2-TERMINATION/Dockerfile b/RIC-E2-TERMINATION/Dockerfile index 57f4383..f341268 100644 --- a/RIC-E2-TERMINATION/Dockerfile +++ b/RIC-E2-TERMINATION/Dockerfile @@ -20,7 +20,7 @@ # This source code is part of the near-RT RIC (RAN Intelligent Controller) # platform project (RICP). # -FROM nexus3.o-ran-sc.org:10004/bldr-ubuntu18-c-go:4-u18.04-nng as ubuntu +FROM nexus3.o-ran-sc.org:10004/bldr-ubuntu18-c-go:5-u18.04-nng as ubuntu #FROM nexus3.o-ran-sc.org:10004/bldr-ubuntu16-c-go:3-u16.04-nng as ubuntu WORKDIR /opt/e2/ @@ -39,10 +39,10 @@ RUN cat /opt/e2/RIC-E2-TERMINATION/config/config.conf RUN wget --content-disposition https://github.com/cgreen-devs/cgreen/releases/download/1.2.0/cgreen_1.2.0_amd64.deb \ && dpkg -i cgreen_1.2.0_amd64.deb \ - && wget --content-disposition https://packagecloud.io/o-ran-sc/staging/packages/debian/stretch/rmr_3.5.1_amd64.deb/download.deb \ - && dpkg -i rmr_3.5.1_amd64.deb \ - && wget --content-disposition https://packagecloud.io/o-ran-sc/staging/packages/debian/stretch/rmr-dev_3.5.1_amd64.deb/download.deb \ - && dpkg -i rmr-dev_3.5.1_amd64.deb + && wget --content-disposition https://packagecloud.io/o-ran-sc/staging/packages/debian/stretch/rmr_3.6.2_amd64.deb/download.deb \ + && dpkg -i rmr_3.6.2_amd64.deb \ + && wget --content-disposition https://packagecloud.io/o-ran-sc/staging/packages/debian/stretch/rmr-dev_3.6.2_amd64.deb/download.deb \ + && dpkg -i rmr-dev_3.6.2_amd64.deb RUN apt-get install -y libcurl4-gnutls-dev gawk \ && cd /opt/e2/RIC-E2-TERMINATION/3rdparty && git clone https://github.com/oktal/pistache.git && cd pistache \ @@ -76,8 +76,14 @@ RUN if [$BUILD_TYPE == "Debug"] ; then make e2_coverage ; fi # && find / -type f -name "libopentracing.a" -exec cp {} libopentracing.a \; && cd /opt/e2/RIC-E2-TERMINATION && ls nlohmann \ FROM ubuntu:18.04 + +RUN apt-get update && apt-get install -y \ + net-tools \ + iputils-ping \ + curl \ + tcpdump + RUN mkdir -p /opt/e2/config -#RUN apt-get install -y net-tools iputils-ping curl tcpdump && mkdir -p /opt/e2/config COPY --from=ubuntu /opt/e2/e2 /opt/e2/e2 COPY --from=ubuntu /opt/e2/rmr.verbose /tmp/rmr.verbose @@ -93,8 +99,8 @@ COPY --from=ubuntu /usr/local/lib/libnng.so /usr/local/lib/libnng.so COPY --from=ubuntu /usr/local/lib/libnng.so.1 /usr/local/lib/libnng.so.1 COPY --from=ubuntu /usr/local/lib/libnng.so.1.1.0 /usr/local/lib/libnng.so.1.1.0 # -COPY --from=ubuntu /usr/local/lib/librmr_nng.so.3.5.1 /usr/local/lib/librmr_nng.so.3.5.1 -COPY --from=ubuntu /usr/local/lib/librmr_si.so.3.5.1 /usr/local/lib/librmr_si.so.3.5.1 +COPY --from=ubuntu /usr/local/lib/librmr_nng.so.3.6.2 /usr/local/lib/librmr_nng.so.3.6.2 +COPY --from=ubuntu /usr/local/lib/librmr_si.so.3.6.2 /usr/local/lib/librmr_si.so.3.6.2 COPY --from=ubuntu /usr/local/lib/librmr_si.so.3 /usr/local/lib/librmr_si.so.3 COPY --from=ubuntu /usr/local/lib/librmr_si.so /usr/local/lib/librmr_si.so COPY --from=ubuntu /usr/local/lib/librmr_nng.so.3 /usr/local/lib/librmr_nng.so.3 @@ -148,3 +154,4 @@ ENV E2TERM_POD_NAME=e2term RUN chmod +x /opt/e2/startup.sh EXPOSE 38000 CMD ["sh", "-c", "./startup.sh"] +