diff options
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" ] |