index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
docker
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
author
Tristan Storch <tstorch@math.uni-bielefeld.de>
2014-09-03 18:41:20 +0200
committer
Tristan Storch <tstorch@math.uni-bielefeld.de>
2014-09-03 18:44:15 +0200
commit
863a4d5bc4b1e1237e259325ac30c111755c9a02
(
patch
)
tree
1dacca1ff3c75af331aadcd8f13977c84819273c
/
docker
parent
f36f9e07b78d078c89b57437a12c85ea8218fa1c
(
diff
)
Use variables, when the're there
Why not use the environment variables, when they are there...
Diffstat
(limited to 'docker')
-rw-r--r--
docker/blocks/docker_gogs_dev/Dockerfile
2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/blocks/docker_gogs_dev/Dockerfile b/docker/blocks/docker_gogs_dev/Dockerfile
index a016409f..d1b96bf4 100644
--- a/
docker/blocks/docker_gogs_dev/Dockerfile
+++ b/
docker/blocks/docker_gogs_dev/Dockerfile
@@ -32,7 +32,7 @@ ENV GOGS_PATH $GOPATH/src/github.com/gogits/gogs
ENV GOGS_CUSTOM_CONF_PATH $GOGS_PATH/custom/conf
ENV GOGS_CUSTOM_CONF $GOGS_CUSTOM_CONF_PATH/app.ini
-RUN git clone -b dev https://github.com/gogits/gogs.git $GOPATH/src/github.com/gogits/gogs
+RUN git clone -b dev https://github.com/gogits/gogs.git $GOGS_PATH
# WORKDIR $GOGS_PATH
WORKDIR /go/src/github.com/gogits/gogs
RUN go get -d && go build