-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
Migrate to dep for dependency management
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
language: go | ||
|
||
go: | ||
- 1.6 | ||
- tip | ||
- 1.x | ||
- master | ||
|
||
before_script: | ||
- go install ./... | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
FROM alpine:3.3 | ||
FROM alpine:3.6 | ||
|
||
COPY . /go/src/github.com/bobrik/zoidberg | ||
|
||
RUN apk --update add go ca-certificates && \ | ||
export GOPATH=/go GO15VENDOREXPERIMENT=1 && \ | ||
go get github.com/bobrik/zoidberg/... && \ | ||
apk del go | ||
RUN apk --update add go libc-dev ca-certificates && \ | ||
GOPATH=/go go install -v github.com/bobrik/zoidberg/cmd/... && \ | ||
apk del go libc-dev | ||
|
||
ENTRYPOINT ["/go/bin/zoidberg"] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
FROM alpine:3.3 | ||
FROM alpine:3.6 | ||
|
||
RUN apk --update add go ca-certificates | ||
RUN apk --update add go libc-dev ca-certificates | ||
|
||
COPY . /go/src/github.com/bobrik/zoidberg | ||
|
||
RUN export GOPATH=/go GO15VENDOREXPERIMENT=1 && \ | ||
go get github.com/bobrik/zoidberg/... | ||
RUN GOPATH=/go go install -v github.com/bobrik/zoidberg/cmd/... && \ | ||
|
||
ENTRYPOINT ["/go/bin/zoidberg"] |
This file was deleted.
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
|
||
# Gopkg.toml example | ||
# | ||
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md | ||
# for detailed Gopkg.toml documentation. | ||
# | ||
# required = ["github.com/user/thing/cmd/thing"] | ||
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"] | ||
# | ||
# [[constraint]] | ||
# name = "github.com/user/project" | ||
# version = "1.0.0" | ||
# | ||
# [[constraint]] | ||
# name = "github.com/user/project2" | ||
# branch = "dev" | ||
# source = "github.com/myfork/project2" | ||
# | ||
# [[override]] | ||
# name = "github.com/x/y" | ||
# version = "2.4.0" | ||
|
||
|
||
[[constraint]] | ||
name = "github.com/gambol99/go-marathon" | ||
version = "0.7.1" | ||
|
||
[[constraint]] | ||
branch = "master" | ||
name = "github.com/samuel/go-zookeeper" |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.