aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorTao Wang <twang2218@gmail.com>2017-10-31 19:55:46 +1100
committerLunny Xiao <xiaolunwen@gmail.com>2017-10-31 16:55:46 +0800
commitd545e32b5623b12ed2c4405be2484ffdfa9432e5 (patch)
tree127e32dc2a822dd29f5934dbbf7164b40637445e /Dockerfile
parentb0b24a2dbb8bca7e99e432d383716d6d811b7981 (diff)
downloadgitea-d545e32b5623b12ed2c4405be2484ffdfa9432e5.tar.gz
gitea-d545e32b5623b12ed2c4405be2484ffdfa9432e5.zip
Add environment variable support for Docker image (#2201)
* Add `gettext` dependencies as we need `envsubst` command; * Modified s6's gitea setup script, instead of `cp` the template if no `app.ini` exist, it will substitude the envvars and generate the new `app.ini`; * Make `/docker/etc/templates/app.ini` a template contains environment variables; Signed-off-by: Tao Wang <twang2218@gmail.com>
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 4e394bfe6f..3db023ca3b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -14,6 +14,7 @@ RUN apk --no-cache add \
s6 \
curl \
openssh \
+ gettext \
tzdata
RUN addgroup \
-S -g 1000 \