You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by zh...@apache.org on 2024/07/23 15:49:50 UTC

(incubator-devlake) branch adjust-devlake-dockerfile-to-use-numeric-uid created (now 58e1cf5a6)

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

zhangning pushed a change to branch adjust-devlake-dockerfile-to-use-numeric-uid
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


      at 58e1cf5a6 adjust dockerfile to use numeric uid instead of username

This branch includes the following new commits:

     new 58e1cf5a6 adjust dockerfile to use numeric uid instead of username

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(incubator-devlake) 01/01: adjust dockerfile to use numeric uid instead of username

Posted by zh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

zhangning pushed a commit to branch adjust-devlake-dockerfile-to-use-numeric-uid
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git

commit 58e1cf5a66baf45606ac3e44f9d0ccd3bf977c3d
Author: ZhangNing10 <ni...@merico.dev>
AuthorDate: Tue Jul 23 23:49:38 2024 +0800

    adjust dockerfile to use numeric uid instead of username
---
 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