aboutsummaryrefslogtreecommitdiff
path: root/docker/s6/gogs/run
diff options
context:
space:
mode:
authoreightpigs <eightpigs@outlook.com>2020-04-07 15:12:08 +0800
committerGitHub <noreply@github.com>2020-04-07 15:12:08 +0800
commitf3b05961aae82fa3e19c47f03c78974cf793fda3 (patch)
tree237f047bab60575cdc54c7286920f6656f840647 /docker/s6/gogs/run
parent4ebdcb719a348be072b1b032d74aa6aee1b1554f (diff)
docker: fix the bug of using root account to create `/data/*` directory (#6068)
* Fix the bug of using root account to create /data directory * Fix the bug that sshkey cannot be added in the container and remove unnecessary chown.
Diffstat (limited to 'docker/s6/gogs/run')
-rwxr-xr-xdocker/s6/gogs/run1
1 files changed, 0 insertions, 1 deletions
diff --git a/docker/s6/gogs/run b/docker/s6/gogs/run
index 1aa70eb4..edcf49ce 100755
--- a/docker/s6/gogs/run
+++ b/docker/s6/gogs/run
@@ -4,5 +4,4 @@ if test -f ./setup; then
source ./setup
fi
-export USER=git
exec gosu $USER /app/gogs/gogs web