mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-02 09:40:34 +00:00
12 lines
392 B
Docker
12 lines
392 B
Docker
FROM golang:1.6.0
|
|
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 && go install -race -tags netgo std
|
|
RUN go get -tags netgo \
|
|
github.com/fzipp/gocyclo \
|
|
github.com/golang/lint/golint \
|
|
github.com/kisielk/errcheck \
|
|
github.com/mjibson/esc
|
|
COPY build.sh /
|
|
ENTRYPOINT ["/build.sh"]
|