From: E. Scott Daniels Date: Fri, 3 Apr 2020 21:06:41 +0000 (-0400) Subject: Ensure RMR based health chk is in the lister image X-Git-Tag: 1.4.0^0 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=11e1df0bebd9c06d2730e9f72be9874b07850a83;p=ric-app%2Fmc.git Ensure RMR based health chk is in the lister image This change causes the RMR runtime package to be installed into the listener container to ensure that the health check binary is installed. A subsequent change will need to be made to the mc-core docker container to reference this new image (1.4.0) Issue-ID: RIC-311 Signed-off-by: E. Scott Daniels Change-Id: Iacbdec173a6283f44355f30827db9533d6e03fc9 --- diff --git a/sidecars/listener/Dockerfile b/sidecars/listener/Dockerfile index 861401f..a4d0bc1 100644 --- a/sidecars/listener/Dockerfile +++ b/sidecars/listener/Dockerfile @@ -48,7 +48,7 @@ RUN apt-get update && apt-get install -y cmake gcc make git g++ wget WORKDIR /playpen # Install RMr (runtime and dev) from debian package cached on packagecloud.io -ARG RMR_VER=3.5.1 +ARG RMR_VER=3.6.5 RUN wget -nv --content-disposition https://packagecloud.io/o-ran-sc/staging/packages/debian/stretch/rmr_${RMR_VER}_amd64.deb/download.deb RUN wget -nv --content-disposition https://packagecloud.io/o-ran-sc/staging/packages/debian/stretch/rmr-dev_${RMR_VER}_amd64.deb/download.deb @@ -81,6 +81,10 @@ FROM ubuntu:18.04 RUN apt-get update; apt-get install -y ksh RUN rm -fr /var/lib/apt/lists +# must have rmr runtime to get health check etc +COPY --from=buildenv /playpen/rmr_*.deb /tmp/ +RUN dpkg -i /tmp/rmr_*_amd64.deb + # obtusely this uses the previous value ARG SRC diff --git a/sidecars/listener/container-tag.yaml b/sidecars/listener/container-tag.yaml index eb30c85..bb40811 100644 --- a/sidecars/listener/container-tag.yaml +++ b/sidecars/listener/container-tag.yaml @@ -1,4 +1,4 @@ --- -tag: '1.3.3' +tag: '1.4.0' # this is used by CI jobs to apply a tag when it builds the image