Code Review
/
ric-plt
/
dbaas.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Build new DBAAS image to have latest sdlcli
[ric-plt/dbaas.git]
/
docker
/
Dockerfile.redis
diff --git
a/docker/Dockerfile.redis
b/docker/Dockerfile.redis
index
bf13ec4
..
bb4d8d7
100644
(file)
--- a/
docker/Dockerfile.redis
+++ b/
docker/Dockerfile.redis
@@
-70,6
+70,12
@@
RUN ./autogen.sh && \
make test && \
make install
make test && \
make install
+# Build sdlcli -tool
+RUN cd /go/src && \
+ git clone "https://gerrit.o-ran-sc.org/r/ric-plt/sdlgo" && \
+ cd sdlgo && \
+ go build -v -o /usr/local/bin/sdlcli cmd/sdlcli/main.go
+
FROM redis:5.0.9-alpine3.11 as build
FROM redis:5.0.9-alpine3.11 as build
@@
-81,4
+87,5
@@
RUN apk --update add --upgrade --no-cache \
busybox
COPY --from=build-env /usr/local/libexec/redismodule/libredismodule.so /usr/local/libexec/redismodule/libredismodule.so
busybox
COPY --from=build-env /usr/local/libexec/redismodule/libredismodule.so /usr/local/libexec/redismodule/libredismodule.so
+COPY --from=build-env /usr/local/bin/sdlcli /usr/local/bin/
WORKDIR /data
WORKDIR /data