diff --git a/.dockerignore b/.dockerignore index b33dbf58a..d2b3db5a2 100644 --- a/.dockerignore +++ b/.dockerignore @@ -14,6 +14,4 @@ config.codekit .editorconfig .gitignore Dockerfile* -vendor -vendor/** gogs diff --git a/docker/build.sh b/docker/build.sh index 2cc188d5b..e970531a3 100755 --- a/docker/build.sh +++ b/docker/build.sh @@ -16,7 +16,6 @@ ln -s /app/gogs/build ${GOPATH}/src/github.com/gogits/gogs cd ${GOPATH}/src/github.com/gogits/gogs # Needed since git 2.9.3 or 2.9.4 git config --global http.https://gopkg.in.followRedirects true -go get -v -tags "sqlite cert pam" ./... make build TAGS="sqlite cert pam" # Cleanup GOPATH