Skip to content

Commit

Permalink
Switching to managing dependencies with govendor. (#142)
Browse files Browse the repository at this point in the history
* Purging old vendor files.

* govendor fetch --tree github.com/drud/drud-go/drudapi

* govendor fetch --tree cloud.google.com/go/storage

* govendor fetch --tree github.com/spf13/viper

* govendor fetch --tree github.com/spf13/cobra/doc

* govendor fetch --tree github.com/kennygrant/sanitize

* govendor fetch --tree github.com/inconshreveable/go-update

* govendor fetch --tree github.com/hashicorp/vault/builtin/credential/github

* govendor fetch --tree github.com/ghodss/yaml

* govendor fetch --tree github.com/fsouza/go-dockerclient

* govendor fetch --tree github.com/drud/drud-go/utils

* govendor fetch --tree github.com/drud/drud-go/secrets

* govendor fetch --tree github.com/aws/aws-sdk-go/service/s3/s3manager

* govendor fetch --tree github.com/Masterminds/sprig

* Excluding appengine per a reference in the govendor docs.

* Purge glide.

* Updating Dockerfile

* govendor fetch --tree github.com/stretchr/testify@v1
  • Loading branch information
cyberswat committed Sep 29, 2016
1 parent aeb4fef commit 1d34b8b
Show file tree
Hide file tree
Showing 11,408 changed files with 105,679 additions and 4,693,724 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
docs/*
.vscode/*
glide.lock
13 changes: 1 addition & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,26 +1,15 @@
FROM golang:1.7-alpine
ENV DRUD_BUILD_DIR $GOPATH/src/github.com/drud/bootstrap/cli
ENV GLIDE_VERSION 0.11.1
ENV GLIDE_SHA256 de0c7870738c6bc11128761d53a99ad68687b0a213fe52cea15ad05d93f10e42
ENV CGO_ENABLED=0
ENV GOOS=linux

ADD https://github.com/Masterminds/glide/releases/download/v0.12.0/glide-v0.12.0-linux-amd64.tar.gz /glide.tar.gz
RUN apk add --update bzr git ca-certificates wget gcc abuild binutils binutils-doc gcc-doc cmake cmake-doc bash musl-dev openssl \
&& mkdir -p $DRUD_BUILD_DIR \
&& wget --quiet https://github.com/Masterminds/glide/releases/download/v${GLIDE_VERSION}/glide-v${GLIDE_VERSION}-linux-amd64.tar.gz \
&& echo "${GLIDE_SHA256} */glide-v${GLIDE_VERSION}-linux-amd64.tar.gz" \
&& tar -zxf glide-v${GLIDE_VERSION}-linux-amd64.tar.gz \
&& mv linux-amd64/glide /usr/bin \
&& rm -rf linux-amd64 glide-v${GLIDE_VERSION}-linux-amd64.tar.gz

&& mkdir -p $DRUD_BUILD_DIR

WORKDIR $DRUD_BUILD_DIR

ADD . $DRUD_BUILD_DIR

RUN go get .

RUN go build -a -installsuffix cgo -ldflags '-w' -o $GOPATH/bin/drud ./main.go

# We repeat this as a cmd so you can volume mount in a bin directory to generate a binary.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export GOPATH=$HOME/goworkspace
export PATH=$PATH:$GOPATH/bin
mkdir -p $GOPATH/src/github.com/drud
cd $GOPATH/src/github.com/drud && git clone git@github.com:drud/bootstrap.git
cd bootstrap && glide install
cd bootstrap
make osxbin
```

Expand Down
280 changes: 0 additions & 280 deletions glide.lock

This file was deleted.

51 changes: 0 additions & 51 deletions glide.yaml

This file was deleted.

11 changes: 0 additions & 11 deletions vendor/cloud.google.com/go/.travis.yml

This file was deleted.

Loading

0 comments on commit 1d34b8b

Please sign in to comment.