X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ci%2FDockerfile;h=579adfafa2479677c8a086fad83a43755a75df34;hb=ec1fc36290957a31d7d6bb601c0b48c298013630;hp=9d4afc02f797eedbf3b38d9d0e66cbc8b8551bc1;hpb=f89eec503272760b0a323c342c76eb013fcf795a;p=ric-plt%2Flib%2Frmr.git diff --git a/ci/Dockerfile b/ci/Dockerfile index 9d4afc0..579adfa 100755 --- a/ci/Dockerfile +++ b/ci/Dockerfile @@ -14,15 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. -# CI to verify the RMR library +# CI to verify the RMR library and build run-time and dev packages # Inherits C toolchain from buildpack-deps:stretch -# Adds cmake for RMR +# Adds cmake ksh and alien for RMR FROM buildpack-deps:stretch -RUN apt-get update && apt-get -q -y install cmake ksh +RUN apt-get update && apt-get -q -y install cmake ksh alien ADD . /tmp -# tests require directory named ".build" -RUN cd /tmp && mkdir .build && cd .build && cmake .. && make install && make package -# tests require a Linux host, fail in a Linux VM on mac/win -RUN cd /tmp/test && ksh unit_test.ksh -v -RUN cd /tmp/test/app_test && ksh run_all.ksh +WORKDIR /tmp + +# build RMr, run unit tests, and generate packages +RUN ksh ci/ci_build.ksh +