diff options
author | codeskyblue <codeskyblue@gmail.com> | 2015-08-17 14:32:11 +0800 |
---|---|---|
committer | codeskyblue <codeskyblue@gmail.com> | 2015-08-17 14:32:11 +0800 |
commit | 54b8172a2435a5f5044250ff94ccada6263a8e10 (patch) | |
tree | c04c8c1e91e8dde2cbc1c6425e462026ce23b296 /Dockerfile | |
parent | 6712aa21fa314e1328dd73c849981e3e0efe9fc5 (diff) | |
download | gitea-54b8172a2435a5f5044250ff94ccada6263a8e10.tar.gz gitea-54b8172a2435a5f5044250ff94ccada6263a8e10.zip |
some modify, I need to move my workenv to foreign county, network in china is so slow.
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index bb2ed8d307..0000000000 --- a/Dockerfile +++ /dev/null @@ -1,17 +0,0 @@ -FROM google/golang:latest - -ENV TAGS="sqlite redis memcache cert" USER="git" HOME="/home/git" - -COPY . /gopath/src/github.com/gogits/gogs/ -WORKDIR /gopath/src/github.com/gogits/gogs/ - -RUN go get -v -tags="$TAGS" github.com/gogits/gogs \ - && go build -tags="$TAGS" \ - && useradd -d $HOME -m $USER \ - && chown -R $USER . - -USER $USER - -ENTRYPOINT [ "./gogs" ] - -CMD [ "web" ] |