You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kvrocks.apache.org by hu...@apache.org on 2023/06/23 08:21:34 UTC

[kvrocks] branch unstable updated: Remove user and group from Docker (#1513)

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

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


The following commit(s) were added to refs/heads/unstable by this push:
     new 02011859 Remove user and group from Docker (#1513)
02011859 is described below

commit 02011859a07cbf839bf0c7047908a8131cca6030
Author: Aleks Lozovyuk <al...@gmail.com>
AuthorDate: Fri Jun 23 11:21:29 2023 +0300

    Remove user and group from Docker (#1513)
---
 Dockerfile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index d4d68622..1cce2e72 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -28,11 +28,8 @@ RUN ./x.py build -DENABLE_OPENSSL=ON -DPORTABLE=ON -DCMAKE_BUILD_TYPE=Release -j
 FROM alpine:3.16
 
 RUN apk upgrade && apk add libexecinfo
-RUN mkdir /var/run/kvrocks && mkdir /var/lib/kvrocks
-RUN addgroup -S kvrocks && adduser -D -H -S -G kvrocks kvrocks
-RUN chown kvrocks:kvrocks /var/run/kvrocks
+RUN mkdir /var/run/kvrocks 
 
-USER kvrocks
 VOLUME /var/lib/kvrocks
 
 COPY --from=build /kvrocks/build/kvrocks /bin/