[PR #3961] [MERGED] Allow Gitea to run as different USER in Docker #17167

Closed
opened 2025-11-02 12:28:07 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3961
Author: @techknowlogick
Created: 5/13/2018
Status: Merged
Merged: 5/16/2018
Merged by: @lunny

Base: masterHead: techknowlogick-patch-2


📝 Commits (8)

  • 20a8089 If using a different $USER then rename git user
  • a8dc67c Chown based on $USER env
  • 7d973e7 Merge branch 'master' into techknowlogick-patch-2
  • c240ea8 Target only one part of passwd
  • b588fa3 su-exec based on $USER
  • 5747b6d Merge branch 'master' into techknowlogick-patch-2
  • f87acc7 Merge branch 'master' into techknowlogick-patch-2
  • 566fc20 Merge branch 'master' into techknowlogick-patch-2

📊 Changes

3 files changed (+9 additions, -2 deletions)

View changed files

📝 docker/etc/s6/gitea/run (+1 -1)
📝 docker/etc/s6/gitea/setup (+1 -1)
📝 docker/usr/bin/entrypoint (+7 -0)

📄 Description

This PR allows users to rename the default user in the Docker image by passing a different $USER environment variable


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/3961 **Author:** [@techknowlogick](https://github.com/techknowlogick) **Created:** 5/13/2018 **Status:** ✅ Merged **Merged:** 5/16/2018 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `techknowlogick-patch-2` --- ### 📝 Commits (8) - [`20a8089`](https://github.com/go-gitea/gitea/commit/20a80894c3e2ec1ed004c999397865291384403c) If using a different $USER then rename git user - [`a8dc67c`](https://github.com/go-gitea/gitea/commit/a8dc67ca8347101118072f0d8fae1ca6190ecb13) Chown based on $USER env - [`7d973e7`](https://github.com/go-gitea/gitea/commit/7d973e76efe3614f111b50cd10d35013e485e208) Merge branch 'master' into techknowlogick-patch-2 - [`c240ea8`](https://github.com/go-gitea/gitea/commit/c240ea8dda86f91966f71a1e35328c6cdbbaac1e) Target only one part of passwd - [`b588fa3`](https://github.com/go-gitea/gitea/commit/b588fa3708cfb5140886f71f66c65019c6f44b71) su-exec based on $USER - [`5747b6d`](https://github.com/go-gitea/gitea/commit/5747b6dbd174674a0412e60a80de6444fca18adb) Merge branch 'master' into techknowlogick-patch-2 - [`f87acc7`](https://github.com/go-gitea/gitea/commit/f87acc7280a4f44edf514be18812833c8b9bb530) Merge branch 'master' into techknowlogick-patch-2 - [`566fc20`](https://github.com/go-gitea/gitea/commit/566fc20e0d393fc39754fad5dd2a95515ca67f1b) Merge branch 'master' into techknowlogick-patch-2 ### 📊 Changes **3 files changed** (+9 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `docker/etc/s6/gitea/run` (+1 -1) 📝 `docker/etc/s6/gitea/setup` (+1 -1) 📝 `docker/usr/bin/entrypoint` (+7 -0) </details> ### 📄 Description This PR allows users to rename the default user in the Docker image by passing a different $USER environment variable --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:28:07 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#17167