diff options
author | Tao Wang <twang2218@gmail.com> | 2017-10-31 19:55:46 +1100 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-10-31 16:55:46 +0800 |
commit | d545e32b5623b12ed2c4405be2484ffdfa9432e5 (patch) | |
tree | 127e32dc2a822dd29f5934dbbf7164b40637445e /Dockerfile.aarch64 | |
parent | b0b24a2dbb8bca7e99e432d383716d6d811b7981 (diff) | |
download | gitea-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.aarch64')
-rw-r--r-- | Dockerfile.aarch64 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index f76a2663d2..5c6746d584 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -14,6 +14,7 @@ RUN apk --no-cache add \ s6 \ curl \ openssh \ + gettext \ tzdata RUN addgroup \ -S -g 1000 \ |