X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fbindings%2Frmr-python%2FDockerfile-Unit-Test;h=3f0a4f4c2099ea18a56a4647f12331c11f5731d5;hb=5cdf7b5b9aa45769a880be0943b80f6ef7ed09b4;hp=d9ee412d19e22826ac028e9b1ac9d4752deaf3a0;hpb=f23c7756b6c75f571e28346c6ee1466f108932c8;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 d9ee412..3f0a4f4 100644 --- a/src/bindings/rmr-python/Dockerfile-Unit-Test +++ b/src/bindings/rmr-python/Dockerfile-Unit-Test @@ -14,14 +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 - -# the alpine image keeps changing; if it fails try searching: -# https://nexus3.o-ran-sc.org/#browse/search=keyword%3Dalpine3 -# -# copy NNG and rmr out of the CI builder nng -COPY --from=nexus3.o-ran-sc.org:10004/bldr-alpine3:5-a3.9 /usr/local/lib64/libnng.so /usr/local/lib64/libnng.so -COPY --from=nexus3.o-ran-sc.org:10004/bldr-alpine3:5-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