From 63249264955a37429a64ebfec7028c6a487bdf1e Mon Sep 17 00:00:00 2001 From: ss412g Date: Wed, 8 Jan 2020 10:35:01 +0200 Subject: [PATCH] Add RMR_VCTL_FILE in order to control RMR debug level Change-Id: Ie1f594fa031122ed229a83105c566b62f553b005 Signed-off-by: ss412g --- E2Manager/Dockerfile | 4 +++- E2Manager/container-tag.yaml | 2 +- E2Manager/resources/rmr.verbose | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 E2Manager/resources/rmr.verbose diff --git a/E2Manager/Dockerfile b/E2Manager/Dockerfile index 4f9561b..25a972a 100644 --- a/E2Manager/Dockerfile +++ b/E2Manager/Dockerfile @@ -58,12 +58,14 @@ RUN apt-get update && apt-get install -y \ COPY --from=ubuntu /opt/E2Manager/router.txt /opt/E2Manager/router.txt COPY --from=ubuntu /opt/E2Manager/main /opt/E2Manager/main -COPY --from=ubuntu /opt/E2Manager/resources /opt/E2Manager/resources +COPY --from=ubuntu /opt/E2Manager/resources/configuration.yaml /opt/E2Manager/resources/configuration.yaml +COPY --from=ubuntu /opt/E2Manager/resources/rmr.verbose /tmp/rmr.verbose COPY --from=ubuntu /usr/local/lib/librmr_nng.so.1 /usr/local/lib/librmr_nng.so.1 COPY --from=ubuntu /usr/local/lib/libnng.so.1 /usr/local/lib/libnng.so.1 WORKDIR /opt/E2Manager ENV LD_LIBRARY_PATH=/usr/local/lib \ port=3800 ENV RMR_SEED_RT=router.txt +ENV RMR_VCTL_FILE=/tmp/rmr.verbose EXPOSE 3800 CMD ["sh", "-c", "./main -port=$port"] diff --git a/E2Manager/container-tag.yaml b/E2Manager/container-tag.yaml index 3a7663b..1827a37 100644 --- a/E2Manager/container-tag.yaml +++ b/E2Manager/container-tag.yaml @@ -1,4 +1,4 @@ # The Jenkins job requires a tag to build the Docker image. # Global-JJB script assumes this file is in the repo root. --- -tag: 3.0.5 +tag: 3.0.4.1 diff --git a/E2Manager/resources/rmr.verbose b/E2Manager/resources/rmr.verbose new file mode 100644 index 0000000..56a6051 --- /dev/null +++ b/E2Manager/resources/rmr.verbose @@ -0,0 +1 @@ +1 \ No newline at end of file -- 2.16.6