From: Timo Tietavainen Date: Wed, 25 Nov 2020 22:57:33 +0000 (+0200) Subject: Name DBAAS container building stage as a build X-Git-Tag: 0.5.0~3 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=6b7800f24d9fc2c5161b996c6a48177720cacf48;p=ric-plt%2Fdbaas.git Name DBAAS container building stage as a build Add a name 'build' for DBAAS container building stage. Install also lcov tool to unit test container. Signed-off-by: Timo Tietavainen Change-Id: I9851dc55db6f5a11ab35aa840488f7b19d9179fb --- diff --git a/docker/Dockerfile.redis b/docker/Dockerfile.redis index 3266a75..092e219 100644 --- a/docker/Dockerfile.redis +++ b/docker/Dockerfile.redis @@ -38,7 +38,8 @@ RUN apt update && \ libtool \ make \ pkg-config \ - valgrind + valgrind \ + lcov # Cpputest built-in memory checks generate false positives in valgrind. # This is solved by compiling cpputest with memory checking disabled. @@ -67,7 +68,7 @@ RUN ./autogen.sh && \ make install -FROM redis:5.0.5-alpine3.9 +FROM redis:5.0.5-alpine3.9 as build RUN apk add curl COPY --from=build-env /usr/local/libexec/redismodule/libredismodule.so /usr/local/libexec/redismodule/libredismodule.so