1
0
Fork 0
forked from forgejo/forgejo

docker: rootless image (#10154)

* docker: rootless image

* improve docs + remove check for write perm on custom

* add more info on ssh passtrough

* Add comment for internal ssh server in container config
This commit is contained in:
Antoine GIRARD 2020-11-01 01:58:22 +01:00 committed by GitHub
parent f3bbd46c49
commit fe458ce877
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 549 additions and 0 deletions

View file

@ -0,0 +1,11 @@
#!/bin/sh
if [ -x /usr/local/bin/docker-setup.sh ]; then
/usr/local/bin/docker-setup.sh || { echo 'docker setup failed' ; exit 1; }
fi
if [ $# -gt 0 ]; then
exec "$@"
else
exec /usr/local/bin/gitea -c ${GITEA_APP_INI} web
fi