切换包管理工具并升级依赖包

pull/219/merge
Minho 2018-03-06 13:55:32 +08:00
parent cf5f3323ce
commit 54a6147129
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ WORKDIR /go/src/github.com/lifei6671/mindoc
RUN chmod +x start.sh
RUN go get -d ./... && \
RUN go get -u github.com/golang/dep/cmd/dep && dep ensure && \
CGO_ENABLE=1 go build -v -o mindoc_linux_amd64 -ldflags="-w -X main.VERSION=$TAG -X 'main.BUILD_TIME=`date`' -X 'main.GO_VERSION=`go version`'" && \
rm -rf commands controllers models modules routers tasks vendor docs search data utils graphics .git Godeps uploads/* .gitignore .travis.yml Dockerfile gide.yaml LICENSE main.go README.md conf/enumerate.go conf/mail.go install.lock