From 6b7800f24d9fc2c5161b996c6a48177720cacf48 Mon Sep 17 00:00:00 2001 From: Timo Tietavainen Date: Thu, 26 Nov 2020 00:57:33 +0200 Subject: [PATCH] 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 --- docker/Dockerfile.redis | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.16.6