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

zhangning pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/main by this push:
     new 6dda14398 adjust dockerfile to use numeric uid instead of username 
(#7776)
6dda14398 is described below

commit 6dda14398613cf58d2bd3898a2a86d5e872a9455
Author: ZhangNing10 <[email protected]>
AuthorDate: Wed Jul 24 00:22:16 2024 +0800

    adjust dockerfile to use numeric uid instead of username (#7776)
---
 backend/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backend/Dockerfile b/backend/Dockerfile
index c804fe36e..1b8bc74a3 100644
--- a/backend/Dockerfile
+++ b/backend/Dockerfile
@@ -134,7 +134,7 @@ EXPOSE 8080
 
 RUN useradd -ms /bin/bash -d /app devlake -u 1010
 RUN chown -R devlake:devlake /etc/ssl/certs
-USER devlake
+USER 1010
 ENV PYTHONUNBUFFERED=1
 
 WORKDIR /app

Reply via email to