From 2fd69f13d9599a6c58b47225565163fd7d87889f Mon Sep 17 00:00:00 2001 From: Unknwon Date: Thu, 9 Feb 2017 19:48:13 -0500 Subject: vendor: check in vendors Bye bye glide... --- docker/build.sh | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'docker') diff --git a/docker/build.sh b/docker/build.sh index da36d7e6..d6837d33 100755 --- a/docker/build.sh +++ b/docker/build.sh @@ -10,23 +10,14 @@ export GO15VENDOREXPERIMENT=1 # Install build deps apk --no-cache --no-progress add --virtual build-deps build-base linux-pam-dev go -# Install glide -git clone -b 0.10.2 https://github.com/Masterminds/glide ${GOPATH}/src/github.com/Masterminds/glide -cd ${GOPATH}/src/github.com/Masterminds/glide -make build -go install - - - # Build Gogs mkdir -p ${GOPATH}/src/github.com/gogits/ ln -s /app/gogs/ ${GOPATH}/src/github.com/gogits/gogs cd ${GOPATH}/src/github.com/gogits/gogs -glide install make build TAGS="sqlite cert pam" -# Cleanup GOPATH & vendoring dir -rm -r $GOPATH /app/gogs/vendor +# Cleanup GOPATH +rm -r $GOPATH # Remove build deps apk --no-progress del build-deps -- cgit v1.2.3