Files
weave-scope/backend/Dockerfile
2016-02-16 13:55:51 +00:00

12 lines
392 B
Docker

FROM golang:1.5.3
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"]