1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-05 08:17:04 +00:00
node-feature-discovery/Dockerfile

17 lines
547 B
Text
Raw Normal View History

FROM golang:1.6
2016-08-30 17:04:43 -07:00
ADD . /go/src/github.com/kubernetes-incubator/node-feature-discovery
2016-08-30 17:04:43 -07:00
WORKDIR /go/src/github.com/kubernetes-incubator/node-feature-discovery
RUN git clone --depth 1 https://github.com/01org/intel-cmt-cat.git
RUN cd intel-cmt-cat/lib; make install
RUN cd rdt-discovery; make
RUN go get github.com/Masterminds/glide
RUN glide install
RUN go install \
-ldflags "-s -w -X main.version=`git describe --tags --dirty --always`" \
2016-08-30 17:04:43 -07:00
github.com/kubernetes-incubator/node-feature-discovery
2016-08-30 17:04:43 -07:00
ENTRYPOINT ["/go/bin/node-feature-discovery"]