diff options
author | Sandro Santilli <strk@kbt.io> | 2016-11-07 11:41:50 +0100 |
---|---|---|
committer | Sandro Santilli <strk@kbt.io> | 2016-11-07 16:05:18 +0100 |
commit | b7263f31a5a0a4a0ac8fe92c83563d7b7dcf7423 (patch) | |
tree | 782bbf98af42c4ffb3d8c38dc787911706d1390e /Dockerfile | |
parent | 1b962bac0bb00d6ce2bfd29fdeb1f95301e17b98 (diff) | |
download | gitea-b7263f31a5a0a4a0ac8fe92c83563d7b7dcf7423.tar.gz gitea-b7263f31a5a0a4a0ac8fe92c83563d7b7dcf7423.zip |
Replace GOGS with GITEA in variable names
Still use GOGS_WORK_DIR and GOGS_CUSTOM env variables
as a fallback if the equivalent GITEA_* are not set,
warning user about the need for change.
Does not change "gogs" to "gitea" in webhook type name
Because "gogs" hook type is part of the API (routes) and used
in templates...
Closes #87
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile index 3a3c405118..aa6c834e20 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ ADD https://github.com/tianon/gosu/releases/download/1.9/gosu-amd64 /usr/sbin/go RUN chmod +x /usr/sbin/gosu \ && apk --no-cache --no-progress add ca-certificates bash git linux-pam s6 curl openssh socat tzdata -ENV GOGS_CUSTOM /data/gogs +ENV GITEA_CUSTOM /data/gogs COPY . /app/gogs/ WORKDIR /app/gogs/ |