Skip to content

Commit

Permalink
fix dependency resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
ndeloof committed Jul 5, 2017
1 parent 48d71e6 commit f5a7b6a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ authobot

# use `dep ensure` to manage vendor content
vendor/
Gopgk.lock
Gopkg.lock
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ FROM golang:alpine as build
RUN mkdir -p /go/src/app
WORKDIR /go/src/app
COPY . /go/src/app
RUN go get -u github.com/golang/dep/cmd/dep
RUN dep ensure
RUN go build

FROM golang:alpine
Expand Down
6 changes: 3 additions & 3 deletions Gopkg.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[[constraint]]
name = "github.com/docker/go-plugins-helpers"
revision = "abb3e589c0322ddc019c2ec5f587ea0df2024869"

[[override]]
name = "github.com/docker/go-connections"
revision = "3ede32e2033de7505e6500d6c868c2b9ed9f169d"
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,11 @@ Any other API call will be rejected.
installation:
```
docker plugin install ndeloof/authobot
```
```

## Contribute / hack

we use [dep](https://github.com/golang/dep) to manage dependencies.
run `dep ensure` to generate a local `vendor` folder so you can hack and build the plugin.


0 comments on commit f5a7b6a

Please sign in to comment.