X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=examples%2FDockerfile-Ping;h=40b19d816319218aaa4979c65e5a8cf7f2ad17df;hb=5e8d27bedbc0d63a6e5ec30e3d752632885b56c4;hp=38dd323dcc755fa7607d38caf9331731fe69f614;hpb=01533e60cd85f4b9c99c7d1c50ad0ae259e32f5e;p=ric-plt%2Fxapp-frame-py.git diff --git a/examples/Dockerfile-Ping b/examples/Dockerfile-Ping index 38dd323..40b19d8 100644 --- a/examples/Dockerfile-Ping +++ b/examples/Dockerfile-Ping @@ -14,13 +14,13 @@ # See the License for the specific language governing permissions and # limitations under the License. # ================================================================================== -FROM python:3.7-alpine +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:1-rmr1.13.1 /usr/local/lib64/libnng.so /usr/local/lib64/libnng.so -COPY --from=nexus3.o-ran-sc.org:10004/bldr-alpine3-go:1-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.4.0 +RUN pip install ricxappframe COPY ping_xapp.py . # Run