File tree Expand file tree Collapse file tree 4 files changed +221
-2
lines changed Expand file tree Collapse file tree 4 files changed +221
-2
lines changed Original file line number Diff line number Diff line change @@ -2,4 +2,5 @@ splunk-logging-plugin
22splunk-logging-plugin.tar.gz
33.idea /
44.DS_Store
5- * .pyc
5+ * .pyc
6+ vendor /
Original file line number Diff line number Diff line change @@ -4,8 +4,10 @@ WORKDIR /go/src/github.com/splunk/splunk-logging-plugin/
44
55COPY . /go/src/github.com/splunk/splunk-logging-plugin/
66
7+ # install dep
8+ RUN curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
79
8- RUN cd /go/src/github.com/splunk/splunk-logging-plugin && go get
10+ RUN cd /go/src/github.com/splunk/splunk-logging-plugin && dep ensure
911
1012RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o /bin/splunk-logging-plugin .
1113
Original file line number Diff line number Diff line change 1+ # Gopkg.toml example
2+ #
3+ # Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
4+ # for detailed Gopkg.toml documentation.
5+ #
6+ # required = ["github.com/user/thing/cmd/thing"]
7+ # ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
8+ #
9+ # [[constraint]]
10+ # name = "github.com/user/project"
11+ # version = "1.0.0"
12+ #
13+ # [[constraint]]
14+ # name = "github.com/user/project2"
15+ # branch = "dev"
16+ # source = "github.com/myfork/project2"
17+ #
18+ # [[override]]
19+ # name = "github.com/x/y"
20+ # version = "2.4.0"
21+ #
22+ # [prune]
23+ # non-go = false
24+ # go-tests = true
25+ # unused-packages = true
26+
27+
28+ [[constraint ]]
29+ name = " github.com/Sirupsen/logrus"
30+ version = " 1.0.5"
31+
32+ [[constraint ]]
33+ name = " github.com/docker/docker"
34+ version = " 17.3.0-ce"
35+
36+ [[constraint ]]
37+ branch = " master"
38+ name = " github.com/docker/go-plugins-helpers"
39+
40+ [[constraint ]]
41+ name = " github.com/gogo/protobuf"
42+ version = " 1.0.0"
43+
44+ [[constraint ]]
45+ name = " github.com/pkg/errors"
46+ version = " 0.8.0"
47+
48+ [[constraint ]]
49+ branch = " master"
50+ name = " github.com/tonistiigi/fifo"
51+
52+ [prune ]
53+ go-tests = true
54+ unused-packages = true
You can’t perform that action at this time.
0 commit comments