X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fbindings%2Frmr-python%2FDockerfile-Unit-Test;h=3f0a4f4c2099ea18a56a4647f12331c11f5731d5;hb=79a95018f00ad7fe667a869a669a3c5bc2f61c80;hp=9cfe15cdde74d08d4b5382c1708004b20c1d454b;hpb=750bdce38fb37e72174c5f10af0140c0a1ead811;p=ric-plt%2Flib%2Frmr.git diff --git a/src/bindings/rmr-python/Dockerfile-Unit-Test b/src/bindings/rmr-python/Dockerfile-Unit-Test index 9cfe15c..3f0a4f4 100644 --- a/src/bindings/rmr-python/Dockerfile-Unit-Test +++ b/src/bindings/rmr-python/Dockerfile-Unit-Test @@ -14,11 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. # ================================================================================== +# install a well known working rmr FROM python:3.7-alpine - -# copy NNG and rmr out of the CI builder nng -COPY --from=nexus3.o-ran-sc.org:10004/bldr-alpine3:3-a3.9 /usr/local/lib64/libnng.so /usr/local/lib64/libnng.so -COPY --from=nexus3.o-ran-sc.org:10004/bldr-alpine3:3-a3.9 /usr/local/lib64/librmr_nng.so /usr/local/lib64/librmr_nng.so +RUN apk update && apk add autoconf automake build-base cmake libtool ninja pkgconfig git +RUN git clone --branch 1.10.2 https://gerrit.o-ran-sc.org/r/ric-plt/lib/rmr \ + && cd rmr \ + && mkdir build \ + && cd build \ + && cmake .. -DPACK_EXTERNALS=1 \ + && make install COPY rmr/ /tmp/rmr COPY tests/ /tmp/tests