You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kvrocks.apache.org by ti...@apache.org on 2022/10/26 04:47:13 UTC

[incubator-kvrocks] branch unstable updated: Fix missing dependency and add license files in Dockerfile (#1041)

This is an automated email from the ASF dual-hosted git repository.

tison pushed a commit to branch unstable
in repository https://gitbox.apache.org/repos/asf/incubator-kvrocks.git


The following commit(s) were added to refs/heads/unstable by this push:
     new 91ef4a9d Fix missing dependency and add license files in Dockerfile (#1041)
91ef4a9d is described below

commit 91ef4a9d3c44a0fa728083ce47dc2de71bbaf6c8
Author: Twice <tw...@gmail.com>
AuthorDate: Wed Oct 26 12:47:09 2022 +0800

    Fix missing dependency and add license files in Dockerfile (#1041)
---
 Dockerfile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Dockerfile b/Dockerfile
index 8e806d04..f2210e11 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -30,6 +30,8 @@ RUN ./x.py build -DENABLE_OPENSSL=ON
 
 FROM ubuntu:focal
 
+RUN apt update && apt install -y libssl-dev
+
 WORKDIR /kvrocks
 
 COPY --from=build /kvrocks/build/kvrocks ./bin/
@@ -38,5 +40,8 @@ COPY ./kvrocks.conf  ./conf/
 RUN sed -i -e 's%dir /tmp/kvrocks%dir /var/lib/kvrocks%g' ./conf/kvrocks.conf
 VOLUME /var/lib/kvrocks
 
+COPY ./LICENSE ./NOTICE ./DISCLAIMER ./
+COPY ./licenses ./licenses
+
 EXPOSE 6666:6666
 ENTRYPOINT ["./bin/kvrocks", "-c", "./conf/kvrocks.conf"]