X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=examples%2FDockerfile-Ping;h=40b19d816319218aaa4979c65e5a8cf7f2ad17df;hb=c4591e61182c2f9b4395df2115769ef6c1dfce91;hp=eac90a99c1faf4b5a4a3504ed0c09cade41d6b45;hpb=0f8305b167601ce6ca87c55208038455a65eab62;p=ric-plt%2Fxapp-frame-py.git diff --git a/examples/Dockerfile-Ping b/examples/Dockerfile-Ping index eac90a9..40b19d8 100644 --- a/examples/Dockerfile-Ping +++ b/examples/Dockerfile-Ping @@ -16,11 +16,11 @@ # ================================================================================== FROM python:3.8-alpine +# copy rmr libraries from builder image in lieu of an Alpine package +COPY --from=nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-alpine3-rmr:4.0.5 /usr/local/lib64/librmr* /usr/local/lib64/ # RMR setup RUN mkdir -p /opt/route/ COPY test_route.rt /opt/route/test_route.rt -COPY --from=nexus3.o-ran-sc.org:10004/bldr-alpine3-go:2-rmr1.13.1 /usr/local/lib64/libnng.so /usr/local/lib64/libnng.so -COPY --from=nexus3.o-ran-sc.org:10004/bldr-alpine3-go:2-rmr1.13.1 /usr/local/lib64/librmr_nng.so /usr/local/lib64/librmr_nng.so ENV LD_LIBRARY_PATH /usr/local/lib/:/usr/local/lib64 ENV RMR_SEED_RT /opt/route/test_route.rt @@ -28,7 +28,7 @@ ENV RMR_SEED_RT /opt/route/test_route.rt RUN apk update && apk add gcc musl-dev bash # Install -RUN pip install ricxappframe==0.5.0 +RUN pip install ricxappframe COPY ping_xapp.py . # Run