Update Makefile inline with some comments from weave's build.

This commit is contained in:
Tom Wilkie
2016-01-08 19:35:56 +00:00
parent 8474279281
commit 4ea7453008
2 changed files with 12 additions and 18 deletions

View File

@@ -1,6 +1,6 @@
FROM golang:1.5.2
ENV GO15VENDOREXPERIMENT 1
RUN apt-get update && apt-get install -y libpcap-dev python-requests time
RUN go clean -i net && go install -tags netgo std
RUN go clean -i net && go install -tags netgo std && go install -race -tags netgo std
COPY build.sh /
ENTRYPOINT ["/build.sh"]