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