Skip to content

Commit 35249b8

Browse files
committed
Glide
1 parent a5b1955 commit 35249b8

File tree

5 files changed

+149
-3
lines changed

5 files changed

+149
-3
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ rootfs
22
docker-log-driver-test
33

44
.idea/*
5+
vendor/

Dockerfile.build

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
FROM golang:1.8
1+
FROM calavera/go-glide:v0.12.3
22

33
COPY . /go/src/github.com/MickayG/moby-kafka-logdriver
44
WORKDIR /go/src/github.com/MickayG/moby-kafka-logdriver
5-
RUN go get -t && go build --ldflags '-extldflags "-static"' -o kafka-logdriver
5+
RUN glide install && go build --ldflags '-extldflags "-static"' -o kafka-logdriver
66

77
# Prepare the directory for packaging
88
RUN mkdir -p /kafka-logdriver/rootfs/usr/bin/

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ clean:
88
-rm -rf kafka-logdriver
99

1010
test:
11-
@go get -t
11+
@glide install
1212
@go test
1313

1414
package:

glide.lock

+118
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

glide.yaml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
package: github.com/xtimon/moby-kafka-logdriver
2+
import:
3+
- package: github.com/Shopify/sarama
4+
version: ~1.12.0
5+
- package: github.com/Sirupsen/logrus
6+
version: ~1.0.0
7+
- package: github.com/docker/docker
8+
version: ~17.5.0-ce
9+
subpackages:
10+
- api/types/plugins/logdriver
11+
- daemon/logger
12+
- pkg/ioutils
13+
- package: github.com/docker/go-plugins-helpers
14+
subpackages:
15+
- sdk
16+
- package: github.com/gogo/protobuf
17+
version: ~0.4.0
18+
subpackages:
19+
- io
20+
- package: github.com/pkg/errors
21+
version: ~0.8.0
22+
- package: github.com/tonistiigi/fifo
23+
testImport:
24+
- package: github.com/stretchr/testify
25+
version: ~1.1.4
26+
subpackages:
27+
- assert

0 commit comments

Comments
 (0)