X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ci%2FDockerfile;h=0f6d8719c2174cfc892e12c73a09b3da5c900ffe;hb=HEAD;hp=579adfafa2479677c8a086fad83a43755a75df34;hpb=d4f18ba140f06b863ac51697d1a0d420bcd3ae6a;p=ric-plt%2Flib%2Frmr.git diff --git a/ci/Dockerfile b/ci/Dockerfile index 579adfa..0f6d871 100755 --- a/ci/Dockerfile +++ b/ci/Dockerfile @@ -23,6 +23,15 @@ RUN apt-get update && apt-get -q -y install cmake ksh alien ADD . /tmp WORKDIR /tmp -# build RMr, run unit tests, and generate packages +# build RMr, run unit tests, and generate packages and package lists RUN ksh ci/ci_build.ksh +# Executing the container "as a binary" will cause the CI publish +# script to execute. This will take the simple package list generated +# by the ci_build script and copy the list of packages to the target +# directory. The target directory is /export by default, but can be +# overridden from the docker run command line. In either case, the +# assumption is that the target directory is mounted as a volume. +# +ENTRYPOINT [ "ci/publish.sh" ] +