X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=examples%2FDockerfile-Pong;h=5d09213aac1dd5918a29d7d8a4bac34eba4926ba;hb=61270901cda095afdd3ce147bf0dfd628c84cf99;hp=b2fd65d0b0147213be13aa36f7be0c168e8b068d;hpb=01533e60cd85f4b9c99c7d1c50ad0ae259e32f5e;p=ric-plt%2Fxapp-frame-py.git diff --git a/examples/Dockerfile-Pong b/examples/Dockerfile-Pong index b2fd65d..5d09213 100644 --- a/examples/Dockerfile-Pong +++ b/examples/Dockerfile-Pong @@ -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.2 /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 pong_xapp.py . # Run