Skip to content

Commit

Permalink
Merge pull request #371 from projectsyn/fix/git-ssh-clone
Browse files Browse the repository at this point in the history
Create real user for UID 1000 so Git SSH clones work
  • Loading branch information
simu authored Jan 17, 2025
2 parents e75ecf7 + f004760 commit d3bc9cd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ FROM base AS final

ENV NODE_ENV=production

# Setup real user for UID 1000 so ssh Git clones work
RUN useradd --no-create-home --no-user-group --gid 0 --uid 1000 renovate

COPY --from=tsbuild /usr/src/app/bin bin
COPY --from=tsbuild /usr/src/app/node_modules node_modules

Expand Down

0 comments on commit d3bc9cd

Please sign in to comment.