File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -86,8 +86,8 @@ COPY src/ src/
8686COPY build/.env build/.env
8787
8888# Create the user, with a home directory
89- RUN groupadd --gid 1002 sourcegraph && \
90- useradd --uid 1001 --gid sourcegraph --create-home --home-dir /home/sourcegraph sourcegraph
89+ RUN groupadd sourcegraph --gid 10002 && \
90+ useradd sourcegraph --uid 10001 --gid sourcegraph --create-home --home-dir /home/sourcegraph
9191
9292# Give ownership of the whole /sg dir and all its contents to the new user
9393RUN chown -R sourcegraph:sourcegraph /sg
Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ services:
2525# image: ghcr.io/sourcegraph/repo-converter:HEAD
2626 image : repo-converter:build
2727 restart : never
28- user : " 1000:1000 "
29- userns_mode : " keep-id:uid=1000 ,gid=1000 "
28+ user : " 10001:10002 "
29+ userns_mode : " keep-id:uid=10001 ,gid=10002 "
3030 volumes :
3131 - ../dev/toprc:/root/.config/procps/toprc:z # `top` config file
3232 - ../config/repos-to-convert.yaml:/sg/repos-to-convert.yaml:ro
You can’t perform that action at this time.
0 commit comments